org.jboss.ejb3.mdb
Class ProducerManagerImpl
java.lang.Object
org.jboss.ejb3.mdb.ProducerManagerImpl
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, org.jboss.aop.advice.Interceptor, ProducerManager
public class ProducerManagerImpl
- extends java.lang.Object
- implements ProducerManager, java.io.Externalizable, org.jboss.aop.advice.Interceptor
comment
- See Also:
- Serialized Form
|
Constructor Summary |
ProducerManagerImpl()
|
ProducerManagerImpl(javax.jms.Destination destination,
javax.jms.ConnectionFactory factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
java.util.HashMap methodMap,
java.util.Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
|
ProducerManagerImpl(javax.jms.Destination destination,
java.lang.String factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
java.util.HashMap methodMap,
java.util.Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destination
protected javax.jms.Destination destination
factoryLookup
protected java.lang.String factoryLookup
deliveryMode
protected int deliveryMode
timeToLive
protected int timeToLive
priority
protected int priority
methodMap
protected java.util.HashMap methodMap
factory
protected transient javax.jms.ConnectionFactory factory
connection
protected transient javax.jms.Connection connection
session
protected transient javax.jms.Session session
msgProducer
protected transient javax.jms.MessageProducer msgProducer
username
protected transient java.lang.String username
password
protected transient java.lang.String password
initialContext
protected transient javax.naming.InitialContext initialContext
initialContextProperties
protected java.util.Hashtable initialContextProperties
transacted
protected boolean transacted
acknowledgeMode
protected int acknowledgeMode
ProducerManagerImpl
public ProducerManagerImpl(javax.jms.Destination destination,
javax.jms.ConnectionFactory factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
java.util.HashMap methodMap,
java.util.Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
ProducerManagerImpl
public ProducerManagerImpl(javax.jms.Destination destination,
java.lang.String factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
java.util.HashMap methodMap,
java.util.Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
ProducerManagerImpl
public ProducerManagerImpl()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
setUsername
public void setUsername(java.lang.String user)
- Specified by:
setUsername in interface ProducerManager
setPassword
public void setPassword(java.lang.String passwd)
- Specified by:
setPassword in interface ProducerManager
connect
public void connect()
throws javax.jms.JMSException
- Specified by:
connect in interface ProducerManager
- Throws:
javax.jms.JMSException
close
public void close()
throws javax.jms.JMSException
- Specified by:
close in interface ProducerManager
- Throws:
javax.jms.JMSException
commit
public void commit()
throws javax.jms.JMSException
- Specified by:
commit in interface ProducerManager
- Throws:
javax.jms.JMSException
rollback
public void rollback()
throws javax.jms.JMSException
- Specified by:
rollback in interface ProducerManager
- Throws:
javax.jms.JMSException
getName
public java.lang.String getName()
- Specified by:
getName in interface org.jboss.aop.advice.Interceptor
invoke
public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws java.lang.Throwable
- Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
- Throws:
java.lang.Throwable