|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.jms.AbstractConnectionFactoryBean
public abstract class AbstractConnectionFactoryBean
Common logic for the connection factory beans.
Field Summary | |
---|---|
protected String |
resourceName_
|
protected String |
xaFactoryJndiName_
|
Constructor Summary | |
---|---|
protected |
AbstractConnectionFactoryBean()
|
Method Summary | |
---|---|
protected abstract void |
checkSetup()
|
Reference |
getReference()
|
String |
getResourceName()
Get the resource name. |
String |
getXaFactoryJndiName()
Retrieve the JNDI name where the XAConnectionFactory is expected. |
void |
init()
Initialization method to register the underlying resource for recovery and other init code. |
void |
setResourceName(String name)
Set the unique resource name for this factory (required). |
void |
setXaFactoryJndiName(String name)
Sets the JNDI name of the underlying XAConnectionFactory (optional). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Field Detail |
---|
protected String resourceName_
protected String xaFactoryJndiName_
Constructor Detail |
---|
protected AbstractConnectionFactoryBean()
Method Detail |
---|
public void setXaFactoryJndiName(String name)
name
- The JNDI name where the XAConnectionFactory can be found.
It is up to the client to make sure that the name exists and
points to an existing XAConnectionFactory.public String getXaFactoryJndiName()
public void setResourceName(String name)
MQSeries NOTE: For IBM MQSeries, the name should include MQSeries_XA_RMI or the XA routines will not work properly!
name
- The unique resource name.public String getResourceName()
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public void init() throws javax.jms.JMSException
javax.jms.JMSException
protected abstract void checkSetup() throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |