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

Constructor Summary
TopicConnection()
           
 
Method Summary
 void destroy()
           
 javax.jms.TopicConnection getTopicConnection()
           
 String getTopicConnectionFactoryJndiName()
          The JNDI name of the TopicConnectionFactory
 void init()
           
static javax.jms.TopicConnection instance()
           
 void setTopicConnectionFactoryJndiName(String jndiName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicConnection

public TopicConnection()
Method Detail

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