Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

JRemoteResourceAdapter (jremote API)

Class JRemoteResourceAdapter


All Implemented Interfaces:
javax.resource.spi.ResourceAdapter


public class JRemoteResourceAdapter
extends Object
implements javax.resource.spi.ResourceAdapter

Constructor Summary

Constructor and Description
JRemoteResourceAdapter() 


Method Summary

Modifier and Type
Method and Description
void
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory, javax.resource.spi.ActivationSpec activationSpec) 
void
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory, javax.resource.spi.ActivationSpec activationSpec) 
XAResource[]
getXAResources(javax.resource.spi.ActivationSpec[] arg0) 
void
setCreateWorkerPerClient(boolean clientWorkers) 
void
setCreateWorkerPerClient(Boolean clientWorkers) 
void
setListenHost(String host) 
void
setListenPort(int port) 
void
setListenPort(Integer port) 
void
start(javax.resource.spi.BootstrapContext ctx) 
void
stop() 


Constructor Detail

JRemoteResourceAdapter

public JRemoteResourceAdapter()


Method Detail

start

public void start(javax.resource.spi.BootstrapContext ctx)
           throws javax.resource.spi.ResourceAdapterInternalException
Specified by:
start in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException

stop

public void stop()
Specified by:
stop in interface javax.resource.spi.ResourceAdapter

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
                               javax.resource.spi.ActivationSpec activationSpec)
                        throws javax.resource.ResourceException
Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException

endpointDeactivation

public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
                                 javax.resource.spi.ActivationSpec activationSpec)
Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter

getXAResources

public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
                            throws javax.resource.ResourceException
Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException

setCreateWorkerPerClient

public void setCreateWorkerPerClient(boolean clientWorkers)

setCreateWorkerPerClient

public void setCreateWorkerPerClient(Boolean clientWorkers)

setListenHost

public void setListenHost(String host)

setListenPort

public void setListenPort(int port)

setListenPort

public void setListenPort(Integer port)



Back to jREMOTE API


Was this article helpful?