|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modelbus.core.lib.configuration.ModelBusServiceConfiguration
public class ModelBusServiceConfiguration
Field Summary | |
---|---|
static java.lang.String |
DATABINDING_JAXB
Value for jaxb databinding. |
static java.lang.String |
DATABINDING_SIMPLE
Value for "simple" databinding. |
static java.lang.Integer |
DEFAULT_SERVICE_PORT
The default port to use when both the OPTION_OSGI_HTTP_SERVICE_CONTEXT and the OPTION_OSGI_HTTP_SERVICE_CONTEXT are
not set. |
static java.lang.String |
FRONTEND_JAXWS
Value for jaxws frontend. |
static java.lang.String |
FRONTEND_SIMPLE
Value for "simple" frontend. |
static java.lang.String |
OPTION_DATABINDING
Defines the databinding to use for the service. |
static java.lang.String |
OPTION_EFFECTIVE_SERVICE_ADDRESS
The URL the service has been deployed to. |
static java.lang.String |
OPTION_ENABLE_MTOM
Enables the MTOM transmission feature for the service. |
static java.lang.String |
OPTION_FRONTEND
Defines the frontend used for the service. |
static java.lang.String |
OPTION_OSGI_HTTP_SERVICE_CONTEXT
Defines the context to use to deploy the service to an existent OSGi HTTPService within the OSGi container. |
static java.lang.String |
OPTION_SERVICE_ADDRESS
Defines the service address to use to deploy the service to. |
Constructor Summary | |
---|---|
ModelBusServiceConfiguration()
|
|
ModelBusServiceConfiguration(java.lang.String serviceInterface)
|
Method Summary | |
---|---|
static ModelBusServiceConfiguration |
get(java.lang.Class serviceInterface)
|
java.lang.Object |
getOption(java.lang.String key)
|
java.util.Map<java.lang.String,java.lang.Object> |
getOptions()
|
java.lang.String |
getServiceInterface()
|
java.lang.String |
getServiceName()
|
boolean |
isOptionSet(java.lang.String key)
|
static void |
register(ModelBusServiceConfiguration config)
|
void |
setOption(java.lang.String key,
java.lang.Object value)
|
void |
setServiceInterface(java.lang.String serviceInterface)
|
void |
setServiceName(java.lang.String serviceName)
|
void |
unsetOption(java.lang.String key)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPTION_ENABLE_MTOM
public static final java.lang.String OPTION_SERVICE_ADDRESS
OPTION_OSGI_HTTP_SERVICE_CONTEXT
option.9090
. The default address for the service will be generated from the simple class name of the service
interface used in lowercase (e.g. http://localhost:9090/myservice for an interface named MyService.class).
public static final java.lang.String OPTION_EFFECTIVE_SERVICE_ADDRESS
OPTION_OSGI_HTTP_SERVICE_CONTEXT
option, the value of this option will be derived from the address of the
embedded HTTP service used for the service and the specified service context.OPTION_SERVICE_ADDRESS
option, the value of this option will be identical to the
OPTION_SERVICE_ADDRESS
option value.
public static final java.lang.String OPTION_FRONTEND
simple
and jaxws
.jaxws
.
public static final java.lang.String OPTION_DATABINDING
jaxb
and simple
.simple
.
public static final java.lang.String OPTION_OSGI_HTTP_SERVICE_CONTEXT
OPTION_SERVICE_ADDRESS
option is set.
public static final java.lang.Integer DEFAULT_SERVICE_PORT
OPTION_OSGI_HTTP_SERVICE_CONTEXT
and the OPTION_OSGI_HTTP_SERVICE_CONTEXT
are
not set.OPTION_SERVICE_ADDRESS
public static final java.lang.String FRONTEND_SIMPLE
public static final java.lang.String FRONTEND_JAXWS
public static final java.lang.String DATABINDING_JAXB
public static final java.lang.String DATABINDING_SIMPLE
Constructor Detail |
---|
public ModelBusServiceConfiguration()
public ModelBusServiceConfiguration(java.lang.String serviceInterface)
Method Detail |
---|
public void setOption(java.lang.String key, java.lang.Object value)
public void unsetOption(java.lang.String key)
public boolean isOptionSet(java.lang.String key)
public java.lang.Object getOption(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.Object> getOptions()
public void validate() throws ModelBusServiceException
ModelBusServiceException
public java.lang.String getServiceInterface()
public void setServiceInterface(java.lang.String serviceInterface)
public static void register(ModelBusServiceConfiguration config)
public static ModelBusServiceConfiguration get(java.lang.Class serviceInterface)
public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |