public interface Endpoint
Modifier and Type | Method and Description |
---|---|
void |
activate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
Activate an endpoint
|
void |
deactivate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
Deactivate an endpoint
|
void activate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointFactory
- The message endpoint factory that should be used for the endpointspec
- The activation spec that should be used for the endpointjavax.resource.ResourceException
- Thrown if an error occursvoid deactivate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointFactory
- The message endpoint factory that should be used for the endpointspec
- The activation spec that should be used for the endpointjavax.resource.ResourceException
- Thrown if an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)