Class IBAnnotatedResourceAdapterImpl
java.lang.Object
com.sun.ts.tests.common.connector.whitebox.ibanno.IBAnnotatedResourceAdapterImpl
- All Implemented Interfaces:
- jakarta.resource.spi.ResourceAdapter,- Serializable
@Connector(description="CTS Test Resource Adapter with No DD",
           displayName="whitebox-anno_no_md.rar",
           vendorName="Java Software",
           eisType="TS EIS",
           version="1.6",
           licenseDescription="CTS License Required",
           licenseRequired=true,
           authMechanisms=@AuthenticationMechanism(credentialInterface=PasswordCredential,authMechanism="BasicPassword",description="Basic Password Authentication"),
           reauthenticationSupport=false,
           securityPermissions=@SecurityPermission,
           transactionSupport=XATransaction,
           requiredWorkContexts=jakarta.resource.spi.work.TransactionContext.class)
public class IBAnnotatedResourceAdapterImpl
extends Object
implements jakarta.resource.spi.ResourceAdapter, Serializable
This is a sample resource adapter that will use no ra.xml info. This RA is used to assist with verifying the server
 supports annotations when there is no ra.xml (Assertion 268) and the transaction support is Local. It is also testing
 inbound messaging support.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidendpointActivation(jakarta.resource.spi.endpoint.MessageEndpointFactory mef, jakarta.resource.spi.ActivationSpec as) voidendpointDeactivation(jakarta.resource.spi.endpoint.MessageEndpointFactory ep, jakarta.resource.spi.ActivationSpec spec) booleangetXAResources(jakarta.resource.spi.ActivationSpec[] specs) inthashCode()voidvoidstart(jakarta.resource.spi.BootstrapContext bsc) voidstop()
- 
Constructor Details- 
IBAnnotatedResourceAdapterImplpublic IBAnnotatedResourceAdapterImpl()constructor
 
- 
- 
Method Details- 
startpublic void start(jakarta.resource.spi.BootstrapContext bsc) throws jakarta.resource.spi.ResourceAdapterInternalException - Specified by:
- startin interface- jakarta.resource.spi.ResourceAdapter
- Throws:
- jakarta.resource.spi.ResourceAdapterInternalException
 
- 
stoppublic void stop()- Specified by:
- stopin interface- jakarta.resource.spi.ResourceAdapter
 
- 
endpointActivationpublic void endpointActivation(jakarta.resource.spi.endpoint.MessageEndpointFactory mef, jakarta.resource.spi.ActivationSpec as) - Specified by:
- endpointActivationin interface- jakarta.resource.spi.ResourceAdapter
 
- 
endpointDeactivationpublic void endpointDeactivation(jakarta.resource.spi.endpoint.MessageEndpointFactory ep, jakarta.resource.spi.ActivationSpec spec) - Specified by:
- endpointDeactivationin interface- jakarta.resource.spi.ResourceAdapter
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getXAResourcespublic XAResource[] getXAResources(jakarta.resource.spi.ActivationSpec[] specs) throws jakarta.resource.ResourceException - Specified by:
- getXAResourcesin interface- jakarta.resource.spi.ResourceAdapter
- Throws:
- jakarta.resource.ResourceException
 
- 
setRaName
- 
getRaName
- 
debug
 
-