Package org.teiid.resource.spi
Class BasicResourceAdapter
- java.lang.Object
-
- org.teiid.resource.spi.BasicResourceAdapter
-
- All Implemented Interfaces:
javax.resource.spi.ResourceAdapter
- Direct Known Subclasses:
AccumuloResourceAdapter
,CassandraResourceAdapter
,CouchbaseResourceAdapter
,FileResourceAdapter
,FtpResourceAdapter
,HdfsResourceAdapter
,InfinispanResourceAdapter
,LdapResourceAdapter
,MongoDBResourceAdapter
,S3ResourceAdapter
,SalesforceResourceAdapter
,SimpleDBResourceAdapter
,SolrResourceAdapter
,SpreadsheetResourceAdapter
,WSResourceAdapter
public class BasicResourceAdapter extends Object implements javax.resource.spi.ResourceAdapter
-
-
Constructor Summary
Constructors Constructor Description BasicResourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
void
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
javax.resource.spi.work.WorkManager
getWorkManager()
XAResource[]
getXAResources(javax.resource.spi.ActivationSpec[] specs)
javax.resource.spi.XATerminator
getXATerminator()
void
start(javax.resource.spi.BootstrapContext ctx)
void
stop()
-
-
-
Method Detail
-
endpointActivation
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
- Specified by:
endpointActivation
in interfacejavax.resource.spi.ResourceAdapter
- Throws:
javax.resource.ResourceException
-
endpointDeactivation
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
- Specified by:
endpointDeactivation
in interfacejavax.resource.spi.ResourceAdapter
-
getXAResources
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
- Specified by:
getXAResources
in interfacejavax.resource.spi.ResourceAdapter
- Throws:
javax.resource.ResourceException
-
start
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalException
- Specified by:
start
in interfacejavax.resource.spi.ResourceAdapter
- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
stop
public void stop()
- Specified by:
stop
in interfacejavax.resource.spi.ResourceAdapter
-
getWorkManager
public javax.resource.spi.work.WorkManager getWorkManager()
-
getXATerminator
public javax.resource.spi.XATerminator getXATerminator()
-
-