biz.hammurapi.jms.adapter.jca
Class ResourceAdapterImpl

java.lang.Object
  extended by biz.hammurapi.jms.adapter.jca.ResourceAdapterImpl
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter

public class ResourceAdapterImpl
extends java.lang.Object
implements javax.resource.spi.ResourceAdapter


Constructor Summary
ResourceAdapterImpl()
           
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory factory, javax.resource.spi.ActivationSpec spec)
           
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory, javax.resource.spi.ActivationSpec spec)
          Removes endpoint entry from activation maps.
 biz.hammurapi.jms.adapter.jca.SharedAdapter getSharedAdapter()
           
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] speca)
           
 void setConfigUrl(java.lang.String configUrl)
          URL of configuration.
 void start(javax.resource.spi.BootstrapContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAdapterImpl

public ResourceAdapterImpl()
Method Detail

getSharedAdapter

public biz.hammurapi.jms.adapter.jca.SharedAdapter getSharedAdapter()

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
                               javax.resource.spi.ActivationSpec spec)
                        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 factory,
                                 javax.resource.spi.ActivationSpec spec)
Removes endpoint entry from activation maps.

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

getXAResources

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

setConfigUrl

public void setConfigUrl(java.lang.String configUrl)
URL of configuration. If it starts with resource: then it is read from classloader resource.

Parameters:
configUrl -

start

public void start(javax.resource.spi.BootstrapContext context)
           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


Copyright © 2006 Hammurapi Group. All Rights Reserved.