当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
QueueConnection (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.jms
Class QueueConnection
java.lang.Object
org.jboss.seam.jms.QueueConnection
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.jms.queueConnection")
@Install(precedence=0,
genericDependencies=ManagedQueueSender.class)
public class QueueConnection
- extends Object
Manager for a JMS QueueConnection. By default, the JBoss MQ UIL2.
- Author:
- Gavin King
QueueConnection
public QueueConnection()
getQueueConnectionFactoryJndiName
public String getQueueConnectionFactoryJndiName()
- The JNDI name of the QueueConnectionFactory
setQueueConnectionFactoryJndiName
public void setQueueConnectionFactoryJndiName(String jndiName)
init
@Create
public void init()
throws NamingException,
javax.jms.JMSException
- Throws:
NamingException
javax.jms.JMSException
destroy
@Destroy
public void destroy()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getQueueConnection
@Unwrap
public javax.jms.QueueConnection getQueueConnection()
instance
public static javax.jms.QueueConnection instance()
toString
public String toString()
- Overrides:
toString
in class Object