|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jms.extensions.DestinationInfo
This class represents information about a JMS destination. It is used by the JMS message management APIs to provide destination information to management clients in CompositeData format.
CompositeData
,
JMSDestinationRuntimeMBean
Constructor Summary | |
DestinationInfo(CompositeData cd)
Creates a DestinationInfo instance from its CompositeData representation. |
|
DestinationInfo(WLDestination destination)
Creates a DestinationInfo instance from the specified WebLogic destination object. |
Method Summary | |
String |
getApplicationName()
Returns the application name for the destination. |
protected Map |
getCompositeDataMap()
|
protected CompositeType |
getCompositeType()
|
WLDestination |
getDestination()
Returns the WebLogic destination object. |
String |
getModuleName()
Returns the module name to which the destination is scoped. |
String |
getName()
Returns the destination name. |
String |
getServerName()
Returns the server name on which the destination is hosted. |
boolean |
isQueue()
Indicates whether this destination is a queue. |
boolean |
isTopic()
Indicates whether the destination is a topic. |
protected void |
readCompositeData(CompositeData cd)
|
void |
setApplicationName(String applicationName)
Sets the application name |
void |
setDestination(WLDestination destination)
Sets the WebLogic destination |
void |
setModuleName(String moduleName)
Sets the module name. |
void |
setName(String name)
Sets the destination name. |
void |
setQueue(boolean queue)
Sets the queue attribute. |
void |
setServerName(String serverName)
Sets the server name attribute. |
void |
setTopic(boolean topic)
Sets the topic attribute. |
CompositeData |
toCompositeData()
Converts the instance to a CompositeData representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DestinationInfo(CompositeData cd) throws OpenDataException
Creates a DestinationInfo instance from its CompositeData representation.
IOException
- Thrown when a
ClassNotFoundException
OpenDataException
public DestinationInfo(WLDestination destination)
Creates a DestinationInfo instance from the specified WebLogic destination object.
Method Detail |
public String getApplicationName()
Returns the application name for the destination.
protected Map getCompositeDataMap() throws OpenDataException
OpenDataException
protected CompositeType getCompositeType() throws OpenDataException
OpenDataException
public WLDestination getDestination()
Returns the WebLogic destination object.
public String getModuleName()
Returns the module name to which the destination is scoped.
public String getName()
Returns the destination name.
public String getServerName()
Returns the server name on which the destination is hosted.
public boolean isQueue()
Indicates whether this destination is a queue.
public boolean isTopic()
Indicates whether the destination is a topic.
protected void readCompositeData(CompositeData cd) throws OpenDataException
OpenDataException
public void setApplicationName(String applicationName)
Sets the application name
applicationName
- The applicationName to set.public void setDestination(WLDestination destination)
Sets the WebLogic destination
destination
- The destination to set.public void setModuleName(String moduleName)
Sets the module name.
moduleName
- The moduleName to set.public void setName(String name)
Sets the destination name.
name
- The name to set.public void setQueue(boolean queue)
Sets the queue attribute.
queue
- The queue attribute value to set.public void setServerName(String serverName)
Sets the server name attribute.
serverName
- The serverName to set.public void setTopic(boolean topic)
Sets the topic attribute.
topic
- The topic attribute value to set.public CompositeData toCompositeData() throws OpenDataException
Converts the instance to a CompositeData representation.
OpenDataException
- Thrown when an error occurs while constructing the CompositeData
representation.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |