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 Object
implements javax.resource.spi.ResourceAdapter

Version:
$Rev$ $Date$

Nested Class Summary
static class QuartzResourceAdapter.JobEndpoint
           
 
Field Summary
static String OPENEJB_QUARTZ_TIMEOUT
           
 
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.apache.openejb.quartz.Scheduler getScheduler()
           
 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
 

Field Detail

OPENEJB_QUARTZ_TIMEOUT

public static final String OPENEJB_QUARTZ_TIMEOUT
See Also:
Constant Field Values
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.apache.openejb.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 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–2015 The Apache Software Foundation. All rights reserved.