public class BasicResourceAdapter extends Object implements javax.resource.spi.ResourceAdapter
Constructor and Description |
---|
BasicResourceAdapter() |
Modifier and Type | Method and 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() |
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointActivation
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void start(javax.resource.spi.BootstrapContext ctx) throws javax.resource.spi.ResourceAdapterInternalException
start
in interface javax.resource.spi.ResourceAdapter
javax.resource.spi.ResourceAdapterInternalException
public void stop()
stop
in interface javax.resource.spi.ResourceAdapter
public javax.resource.spi.work.WorkManager getWorkManager()
public javax.resource.spi.XATerminator getXATerminator()
Copyright © 2019. All rights reserved.