站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 cr1 API 英文版文档

ManagedQueueSender (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档


org.jboss.seam.jms
Class ManagedQueueSender

java.lang.Object
  extended by 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

Constructor Summary
ManagedQueueSender()
           
 
Method Summary
 void create()
           
 void destroy()
           
 javax.jms.Queue getQueue()
           
 String getQueueJndiName()
          The JNDI name of the queue
 javax.jms.QueueSender getQueueSender()
           
 void setQueueJndiName(String jndiName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedQueueSender

public ManagedQueueSender()
Method Detail

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