org.apache.jackrabbit.jca
Class JCAResourceAdapter

java.lang.Object
  extended by org.apache.jackrabbit.jca.JCAResourceAdapter
All Implemented Interfaces:
Serializable, javax.resource.spi.ResourceAdapter

public class JCAResourceAdapter
extends Object
implements javax.resource.spi.ResourceAdapter, Serializable

JCR ResourceAdapter.

See Also:
Serialized Form

Constructor Summary
JCAResourceAdapter()
           
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)
           
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.ActivationSpec as)
           
 XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] as)
           
 void start(javax.resource.spi.BootstrapContext ctx)
          Notify the RepositoryManager that the lifecycle is managed by the container
 void stop()
          Shutdown jackrabbit repositories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCAResourceAdapter

public JCAResourceAdapter()
Method Detail

start

public void start(javax.resource.spi.BootstrapContext ctx)
           throws javax.resource.spi.ResourceAdapterInternalException
Notify the RepositoryManager that the lifecycle is managed by the container

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

stop

public void stop()
Shutdown jackrabbit repositories

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

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
                               javax.resource.spi.ActivationSpec as)
                        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 mef,
                                 javax.resource.spi.ActivationSpec as)
Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter

getXAResources

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


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.