org.jboss.ejb3.mdb
Class ProducerManagerImpl
java.lang.Object
org.jboss.ejb3.mdb.ProducerManagerImpl
- All Implemented Interfaces:
- Externalizable, Serializable, org.jboss.aop.advice.Interceptor, ProducerManager
public class ProducerManagerImpl
- extends Object
- implements ProducerManager, Externalizable, org.jboss.aop.advice.Interceptor
comment
- Author:
- Bill Burke
- 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,
HashMap methodMap,
Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
|
ProducerManagerImpl(javax.jms.Destination destination,
String factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
HashMap methodMap,
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 String factoryLookup
deliveryMode
protected int deliveryMode
timeToLive
protected int timeToLive
priority
protected int priority
methodMap
protected 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 String username
password
protected transient String password
initialContext
protected transient InitialContext initialContext
initialContextProperties
protected 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,
HashMap methodMap,
Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
ProducerManagerImpl
public ProducerManagerImpl(javax.jms.Destination destination,
String factory,
org.jboss.ejb3.annotation.DeliveryMode deliveryMode,
int timeToLive,
int priority,
HashMap methodMap,
Hashtable initialContextProperties,
boolean transacted,
int acknowledgeMode)
ProducerManagerImpl
public ProducerManagerImpl()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
setUsername
public void setUsername(String user)
- Specified by:
setUsername
in interface ProducerManager
setPassword
public void setPassword(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 String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Specified by:
invoke
in interface org.jboss.aop.advice.Interceptor
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.