com.softwareag.jca
Class RPCResourceAdapter

java.lang.Object
  extended by com.softwareag.jca.PMQActivationSpec
      extended by com.softwareag.jca.RPCActivationSpec
          extended by com.softwareag.jca.RPCResourceAdapter
All Implemented Interfaces:
javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapter, javax.resource.spi.ResourceAdapterAssociation

public class RPCResourceAdapter
extends RPCActivationSpec
implements javax.resource.spi.ResourceAdapter

Implements the resource to start and stop RPC message listener as (JCA) connector adapter.

Version:
$Revision: 1.1 $

Constructor Summary
RPCResourceAdapter()
           
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
          Add a new endpoint to the resource adapter instance.
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
          Stop an endpoint instance.
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] spec)
          Not implemented
 void start(javax.resource.spi.BootstrapContext context)
          Starts the RPC adapter.
 void stop()
          Stopps the RPC adapter.
 
Methods inherited from class com.softwareag.jca.RPCActivationSpec
addResource, getEndpoint, getMapping, getServer, releaseResource, setEndpoint, setMapping, setResourceAdapter, setServer
 
Methods inherited from class com.softwareag.jca.PMQActivationSpec
addResource, getBroker, getCompression, getEncryption, getEnvironment, getPassword, getQueue, getReplicates, getReplicatesInt, getResourceAdapter, getService, getToken, getTraceLevel, getUserid, setBroker, setCompression, setEncryption, setEnvironment, setPassword, setQueue, setReplicates, setReplicates, setService, setToken, setTraceLevel, setUserid, tokenizedService, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPCResourceAdapter

public RPCResourceAdapter()
Method Detail

start

public void start(javax.resource.spi.BootstrapContext context)
           throws javax.resource.spi.ResourceAdapterInternalException
Starts the RPC adapter.

Specified by:
start in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException

stop

public void stop()
Stopps the RPC adapter.

Specified by:
stop in interface javax.resource.spi.ResourceAdapter

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
                               javax.resource.spi.ActivationSpec spec)
                        throws javax.resource.ResourceException
Add a new endpoint to the resource adapter instance.

Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException

endpointDeactivation

public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
                                 javax.resource.spi.ActivationSpec spec)
Stop an endpoint instance.

Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter

getXAResources

public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] spec)
                                                 throws javax.resource.ResourceException
Not implemented

Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException


Copyright © 2004-2008 Software AG. All Rights Reserved.