public abstract class EndpointInfoMapping extends MixinHolder<WSSEndpointEnabled> implements BaseMapping<EndpointConfigurationInfo,ProducerInfo>
| Modifier and Type | Field and Description |
|---|---|
static String |
NODE_NAME |
JCR_TYPE_NAME_CONSTANT_NAME| Constructor and Description |
|---|
EndpointInfoMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected WSSEndpointEnabled |
createMixin()
Provides a generic way to create a new mixin instance.
|
protected abstract WSSEndpointEnabled |
createWSSEndpointEnabledMixin() |
WSSEndpointEnabled |
getMixin()
Provides generic access to the mixin.
|
Class<EndpointConfigurationInfo> |
getModelClass()
Retrieves the Java class of the model object this BaseMapping deals with.
|
abstract String |
getWSDLURL() |
abstract WSSEndpointEnabled |
getWSSEndpointEnabledMixin() |
abstract Integer |
getWSTimeoutMilliseconds() |
void |
initFrom(EndpointConfigurationInfo info)
Initializes this BaseMapping from the data of the specified model object
|
boolean |
isWSSEnabled() |
protected void |
setMixin(WSSEndpointEnabled mixin)
Provides a generic way to set the mixin on the holding mapping.
|
abstract void |
setWSDLURL(String wsdlURL) |
void |
setWSSEnabled(boolean wssEnabled) |
protected abstract void |
setWSSEndpointEnabledMixin(WSSEndpointEnabled mixin) |
abstract void |
setWSTimeoutMilliseconds(Integer expiration) |
EndpointConfigurationInfo |
toModel(EndpointConfigurationInfo initial,
ProducerInfo registry)
Converts this BaseMapping into a model object, creating a new one if needed or resetting the specified initial value to the persisted state.
|
getCreatedMixinpublic static final String NODE_NAME
public abstract String getWSDLURL()
public abstract void setWSDLURL(String wsdlURL)
public abstract Integer getWSTimeoutMilliseconds()
public abstract void setWSTimeoutMilliseconds(Integer expiration)
public abstract WSSEndpointEnabled getWSSEndpointEnabledMixin()
protected abstract void setWSSEndpointEnabledMixin(WSSEndpointEnabled mixin)
protected abstract WSSEndpointEnabled createWSSEndpointEnabledMixin()
public void setWSSEnabled(boolean wssEnabled)
public boolean isWSSEnabled()
public void initFrom(EndpointConfigurationInfo info)
BaseMappinginitFrom in interface BaseMapping<EndpointConfigurationInfo,ProducerInfo>info - the model object to initialize frompublic EndpointConfigurationInfo toModel(EndpointConfigurationInfo initial, ProducerInfo registry)
BaseMappingtoModel in interface BaseMapping<EndpointConfigurationInfo,ProducerInfo>initial - a potentially null initial value that will be reset to the persisted stateregistry - the registry associated with instances of the specified model typepublic Class<EndpointConfigurationInfo> getModelClass()
BaseMappinggetModelClass in interface BaseMapping<EndpointConfigurationInfo,ProducerInfo>public WSSEndpointEnabled getMixin()
MixinHoldergetMixin in class MixinHolder<WSSEndpointEnabled>protected void setMixin(WSSEndpointEnabled mixin)
MixinHoldersetMixin in class MixinHolder<WSSEndpointEnabled>mixin - the mixin to use on this MixinHolderprotected WSSEndpointEnabled createMixin()
MixinHoldercreateMixin in class MixinHolder<WSSEndpointEnabled>Copyright © 2006-2014 GateIn. All Rights Reserved.