org.jboss.jms.server.destination
Class Queue

java.lang.Object
  extended byServiceMBeanSupport
      extended byorg.jboss.jms.server.destination.DestinationServiceSupport
          extended byorg.jboss.jms.server.destination.Queue

public class Queue
extends DestinationServiceSupport

A deployable JBoss Messaging queue.

Version:
$Revision: 1323 $ $Id: Queue.java 1323 2006-09-20 00:48:57Z ovidiu.feodorov@jboss.com $
Author:
Ovidiu Feodorov, Tim Fox, Alex Fu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jms.server.destination.DestinationServiceSupport
cm, dm, jndiName, name, securityConfig, serverPeerObjectName, sm, started
 
Constructor Summary
Queue()
           
Queue(boolean createProgrammatically)
           
 
Method Summary
 int getMessageCount()
           
protected  boolean isQueue()
           
 java.util.List listMessages(java.lang.String selector)
           
 void removeAllMessages()
           
 
Methods inherited from class org.jboss.jms.server.destination.DestinationServiceSupport
getDownCacheSize, getFullSize, getJNDIName, getName, getPageSize, getSecurityConfig, getServerPeer, isCreatedProgrammatically, setDownCacheSize, setFullSize, setJNDIName, setPageSize, setSecurityConfig, setServerPeer, startService, stopService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Queue

public Queue()

Queue

public Queue(boolean createProgrammatically)
Method Detail

getMessageCount

public int getMessageCount()
                    throws java.lang.Exception
Throws:
java.lang.Exception

removeAllMessages

public void removeAllMessages()
                       throws java.lang.Exception
Throws:
java.lang.Exception

listMessages

public java.util.List listMessages(java.lang.String selector)
                            throws java.lang.Exception
Throws:
java.lang.Exception

isQueue

protected boolean isQueue()
Specified by:
isQueue in class DestinationServiceSupport


Copyright © 2006 JBoss Inc. All Rights Reserved.