| java.lang.Object org.objectweb.earsample.resourceadapters.ResourceAdapterImpl
ResourceAdapterImpl | public class ResourceAdapterImpl implements javax.resource.spi.ResourceAdapter,java.io.Serializable(Code) | | A Resource adapter
author: kemlerp |
endpointActivation | public void endpointActivation(MessageEndpointFactory factory, ActivationSpec spec) throws NotSupportedException, ResourceAdapterInternalException(Code) | | Called by the application server when a message-driven bean
(MessageEndpoint) is deployed.
Parameters: factory - MessageEndpointFactory Parameters: spec - activation spec throws: NotSupportedException - if an error occurs throws: ResourceAdapterInternalException - if an error occurs |
endpointDeactivation | public void endpointDeactivation(MessageEndpointFactory factory, ActivationSpec spec)(Code) | | Endpoint Deactivation
Parameters: factory - MessageEndpointFactory Parameters: spec - activation spec |
getBootstrapCtx | public BootstrapContext getBootstrapCtx()(Code) | | Get BootstrapContext
bootstrapCtx |
getEisURL | public String getEisURL()(Code) | | Get Eis URL
Eis URL |
getJndiName | public String getJndiName()(Code) | | Get used JNDI name
A string |
getXAResources | public XAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException(Code) | | Get XAResources
Parameters: specs - A tab of specs throws: ResourceException - if an error occurs Tab of XAResources |
setBootstrapCtx | public void setBootstrapCtx(BootstrapContext bootstrapCtx)(Code) | | Set BootstrapContext
Parameters: bootstrapCtx - bootstrapContext |
setJndiName | public void setJndiName(String jndiName)(Code) | | Set JNDI name
Parameters: jndiName - a string |
start | public void start(BootstrapContext bootstrapCtx) throws ResourceAdapterInternalException(Code) | | Start
Parameters: bootstrapCtx - bootstrapCtx throws: ResourceAdapterInternalException - if an error occurs |
stop | public void stop()(Code) | | Stop
|
|
|