站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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

Constructor Summary
QueueConnection()
           
 
Method Summary
 void destroy()
           
 javax.jms.QueueConnection getQueueConnection()
           
 String getQueueConnectionFactoryJndiName()
          The JNDI name of the QueueConnectionFactory
 void init()
           
static javax.jms.QueueConnection instance()
           
 void setQueueConnectionFactoryJndiName(String jndiName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueConnection

public QueueConnection()
Method Detail

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