public class ActivationSpecWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected javax.resource.spi.ActivationSpec |
activationSpec |
Constructor and Description |
---|
ActivationSpecWrapper()
Default constructor required when a class is used as a GBean Endpoint.
|
ActivationSpecWrapper(javax.resource.spi.ActivationSpec activationSpec,
ResourceAdapterWrapper resourceAdapterWrapper,
javax.validation.ValidatorFactory validatorFactory) |
ActivationSpecWrapper(String activationSpecClass,
String containerId,
ResourceAdapterWrapper resourceAdapterWrapper,
ClassLoader cl,
javax.validation.ValidatorFactory validatorFactory)
Normal managed constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory) |
void |
deactivate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory) |
String |
getContainerId()
Returns class of wrapped ActivationSpec.
|
ResourceAdapterWrapper |
getResourceAdapterWrapper() |
public ActivationSpecWrapper()
public ActivationSpecWrapper(String activationSpecClass, String containerId, ResourceAdapterWrapper resourceAdapterWrapper, ClassLoader cl, javax.validation.ValidatorFactory validatorFactory) throws IllegalAccessException, InstantiationException, ClassNotFoundException
activationSpecClass
- Class of admin object to be wrapped.IllegalAccessException
InstantiationException
ClassNotFoundException
public ActivationSpecWrapper(javax.resource.spi.ActivationSpec activationSpec, ResourceAdapterWrapper resourceAdapterWrapper, javax.validation.ValidatorFactory validatorFactory)
public String getContainerId()
public ResourceAdapterWrapper getResourceAdapterWrapper()
public void activate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory) throws javax.resource.ResourceException
javax.resource.ResourceException
public void deactivate(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory)
Copyright © 2019. All rights reserved.