当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
TopicConnection (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.jms
Class TopicConnection
java.lang.Object
org.jboss.seam.jms.TopicConnection
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.jms.topicConnection")
@Install(precedence=0,
genericDependencies=ManagedTopicPublisher.class)
public class TopicConnection
- extends Object
Manager for a JMS TopicConnection. By default, the JBoss MQ UIL2.
- Author:
- Gavin King
TopicConnection
public TopicConnection()
getTopicConnectionFactoryJndiName
public String getTopicConnectionFactoryJndiName()
- The JNDI name of the TopicConnectionFactory
setTopicConnectionFactoryJndiName
public void setTopicConnectionFactoryJndiName(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
getTopicConnection
@Unwrap
public javax.jms.TopicConnection getTopicConnection()
instance
public static javax.jms.TopicConnection instance()
toString
public String toString()
- Overrides:
toString
in class Object