当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
ManagedQueueSender (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.jms
Class ManagedQueueSender
java.lang.Object
org.jboss.seam.jms.ManagedQueueSender
@Scope(value=EVENT)
@Intercept(value=NEVER)
public class ManagedQueueSender
- extends Object
Manager for a JMS QueueSender for a named JMS queue
- Author:
- Gavin King
ManagedQueueSender
public ManagedQueueSender()
getQueueJndiName
public String getQueueJndiName()
- The JNDI name of the queue
setQueueJndiName
public void setQueueJndiName(String jndiName)
getQueue
public javax.jms.Queue getQueue()
throws NamingException
- Throws:
NamingException
create
@Create
public void create()
throws javax.jms.JMSException,
NamingException
- Throws:
javax.jms.JMSException
NamingException
destroy
@Destroy
public void destroy()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getQueueSender
@Unwrap
public javax.jms.QueueSender getQueueSender()
toString
public String toString()
- Overrides:
toString
in class Object