org.apache.openejb.resource.activemq
Class ActiveMQResourceAdapter

java.lang.Object
  extended by org.apache.activemq.ra.ActiveMQConnectionSupport
      extended by org.apache.activemq.ra.ActiveMQResourceAdapter
          extended by org.apache.openejb.resource.activemq.ActiveMQResourceAdapter
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter, org.apache.activemq.ra.MessageResourceAdapter

public class ActiveMQResourceAdapter
extends org.apache.activemq.ra.ActiveMQResourceAdapter


Field Summary
 
Fields inherited from class org.apache.activemq.ra.ActiveMQConnectionSupport
log
 
Constructor Summary
ActiveMQResourceAdapter()
           
 
Method Summary
 javax.resource.spi.BootstrapContext getBootstrapContext()
           
 String getDataSource()
           
 int getStartupTimeout()
           
 void setDataSource(String dataSource)
           
 void setServerUrl(String url)
           
 void setStartupTimeout(Duration startupTimeout)
           
 void setUseDatabaseLock(String useDatabaseLock)
           
 void start(javax.resource.spi.BootstrapContext bootstrapContext)
           
 void stop()
           
 
Methods inherited from class org.apache.activemq.ra.ActiveMQResourceAdapter
endpointActivation, endpointDeactivation, equals, getBrokerXmlConfig, getConnectionFactory, getXAResources, hashCode, makeConnection, makeConnection, setBrokerXmlConfig, setConnectionFactory
 
Methods inherited from class org.apache.activemq.ra.ActiveMQConnectionSupport
createConnectionFactory, defaultValue, emptyToNull, getClientid, getDurableTopicPrefetch, getInfo, getInitialRedeliveryDelay, getInputStreamPrefetch, getMaximumRedeliveries, getMaximumRedeliveryDelay, getOptimizeDurableTopicPrefetch, getPassword, getQueueBrowserPrefetch, getQueuePrefetch, getRedeliveryBackOffMultiplier, getRedeliveryUseExponentialBackOff, getServerUrl, getTopicPrefetch, getUseInboundSession, getUserName, isUseInboundSessionEnabled, makeConnection, makeConnection, notEqual, setAllPrefetchValues, setClientid, setDurableTopicPrefetch, setInfo, setInitialRedeliveryDelay, setInputStreamPrefetch, setMaximumRedeliveries, setMaximumRedeliveryDelay, setOptimizeDurableTopicPrefetch, setPassword, setQueueBrowserPrefetch, setQueuePrefetch, setRedeliveryBackOffMultiplier, setRedeliveryUseExponentialBackOff, setTopicPrefetch, setUseInboundSession, setUserName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.ra.MessageResourceAdapter
getInfo, makeConnection
 

Constructor Detail

ActiveMQResourceAdapter

public ActiveMQResourceAdapter()
Method Detail

getDataSource

public String getDataSource()

setDataSource

public void setDataSource(String dataSource)

setUseDatabaseLock

public void setUseDatabaseLock(String useDatabaseLock)

getStartupTimeout

public int getStartupTimeout()

setStartupTimeout

public void setStartupTimeout(Duration startupTimeout)

setServerUrl

public void setServerUrl(String url)
Overrides:
setServerUrl in class org.apache.activemq.ra.ActiveMQConnectionSupport

start

public void start(javax.resource.spi.BootstrapContext bootstrapContext)
           throws javax.resource.spi.ResourceAdapterInternalException
Specified by:
start in interface javax.resource.spi.ResourceAdapter
Overrides:
start in class org.apache.activemq.ra.ActiveMQResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException

getBootstrapContext

public javax.resource.spi.BootstrapContext getBootstrapContext()
Specified by:
getBootstrapContext in interface org.apache.activemq.ra.MessageResourceAdapter
Overrides:
getBootstrapContext in class org.apache.activemq.ra.ActiveMQResourceAdapter

stop

public void stop()
Specified by:
stop in interface javax.resource.spi.ResourceAdapter
Overrides:
stop in class org.apache.activemq.ra.ActiveMQResourceAdapter


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.