org.apache.geronimo.console.jmsmanager
Class DestinationInfo

java.lang.Object
  extended by org.apache.geronimo.console.jmsmanager.DestinationInfo
All Implemented Interfaces:
Comparable

public class DestinationInfo
extends Object
implements Comparable


Constructor Summary
DestinationInfo(String name, String physicalName, Class type, String applicationName, String moduleName, String configURI)
           
 
Method Summary
 int compareTo(Object o)
           
 String getApplicationName()
           
 String getConfigURI()
           
 String getModuleName()
           
 String getName()
           
 String getPhysicalName()
           
 Class getType()
           
 boolean isRemovable()
          Determines if the destination that this objects represents is removable from the console this means that the destination that this object represents was added via the Geronimo JMS Console.
 boolean isViewable()
          Determines if the destination that this objects represents is viewable from the console this means that either the destination that this object represents was added via the Geronimo JMS Console or it is a Queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationInfo

public DestinationInfo(String name,
                       String physicalName,
                       Class type,
                       String applicationName,
                       String moduleName,
                       String configURI)
Method Detail

getName

public String getName()

getPhysicalName

public String getPhysicalName()

getType

public Class getType()

getApplicationName

public String getApplicationName()

getModuleName

public String getModuleName()

getConfigURI

public String getConfigURI()

isViewable

public boolean isViewable()
Determines if the destination that this objects represents is viewable from the console this means that either the destination that this object represents was added via the Geronimo JMS Console or it is a Queue.

Returns:
true if the console knows how to display this Destination otherwise returns false.

isRemovable

public boolean isRemovable()
Determines if the destination that this objects represents is removable from the console this means that the destination that this object represents was added via the Geronimo JMS Console.

Returns:
true if the console knows how to remove this Destination otherwise returns false.

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.