org.apache.openejb.resource.quartz
Class QuartzResourceAdapter

java.lang.Object
  extended by org.apache.openejb.resource.quartz.QuartzResourceAdapter
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter

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

Version:
$Rev$ $Date$

Nested Class Summary
static class QuartzResourceAdapter.JobEndpoint
           
 
Constructor Summary
QuartzResourceAdapter()
           
 
Method Summary
 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)
           
 javax.resource.spi.BootstrapContext getBootstrapContext()
           
 org.quartz.Scheduler getScheduler()
           
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] activationSpecs)
           
 void start(javax.resource.spi.BootstrapContext bootstrapContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuartzResourceAdapter

public QuartzResourceAdapter()
Method Detail

start

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

getScheduler

public org.quartz.Scheduler getScheduler()

getBootstrapContext

public javax.resource.spi.BootstrapContext getBootstrapContext()

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 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] activationSpecs)
                                                 throws javax.resource.ResourceException
Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.