public class DestinationInfo
extends java.lang.Object
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| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getApplicationName() |
Returns the application name for the destination.
|
protected java.util.Map |
getCompositeDataMap() |
|
protected javax.management.openmbean.CompositeType |
getCompositeType() |
|
WLDestination |
getDestination() |
Returns the WebLogic destination object.
|
java.lang.String |
getModuleName() |
Returns the module name to which the destination is scoped.
|
java.lang.String |
getName() |
Returns the destination name.
|
java.lang.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(javax.management.openmbean.CompositeData cd) |
|
void |
setApplicationName(java.lang.String applicationName) |
Sets the application name
|
void |
setDestination(WLDestination destination) |
Sets the WebLogic destination
|
void |
setModuleName(java.lang.String moduleName) |
Sets the module name.
|
void |
setName(java.lang.String name) |
Sets the destination name.
|
void |
setQueue(boolean queue) |
Sets the queue attribute.
|
void |
setServerName(java.lang.String jmsServerInstanceName) |
Sets the server name attribute.
|
void |
setTopic(boolean topic) |
Sets the topic attribute.
|
javax.management.openmbean.CompositeData |
toCompositeData() |
Converts the instance to a CompositeData representation.
|
public javax.management.openmbean.CompositeData toCompositeData()
throws javax.management.openmbean.OpenDataException
Converts the instance to a CompositeData representation.
javax.management.openmbean.OpenDataException - Thrown when an error occurs while constructing the CompositeData
representation.public java.lang.String getName()
Returns the destination name.
public void setName(java.lang.String name)
Sets the destination name.
name - The name to set.public java.lang.String getApplicationName()
Returns the application name for the destination.
public void setApplicationName(java.lang.String applicationName)
Sets the application name
applicationName - The applicationName to set.public WLDestination getDestination()
Returns the WebLogic destination object.
public void setDestination(WLDestination destination)
Sets the WebLogic destination
destination - The destination to set.public java.lang.String getModuleName()
Returns the module name to which the destination is scoped.
public void setModuleName(java.lang.String moduleName)
Sets the module name.
moduleName - The moduleName to set.public boolean isQueue()
Indicates whether this destination is a queue.
public void setQueue(boolean queue)
Sets the queue attribute.
queue - The queue attribute value to set.public java.lang.String getServerName()
Returns the server name on which the destination is hosted.
public void setServerName(java.lang.String jmsServerInstanceName)
Sets the server name attribute.
jmsServerInstanceName - The jmsServerInstanceName to set.public boolean isTopic()
Indicates whether the destination is a topic.
public void setTopic(boolean topic)
Sets the topic attribute.
topic - The topic attribute value to set.protected void readCompositeData(javax.management.openmbean.CompositeData cd)
throws javax.management.openmbean.OpenDataException
javax.management.openmbean.OpenDataExceptionprotected java.util.Map getCompositeDataMap()
throws javax.management.openmbean.OpenDataException
javax.management.openmbean.OpenDataExceptionprotected javax.management.openmbean.CompositeType getCompositeType()
throws javax.management.openmbean.OpenDataException
javax.management.openmbean.OpenDataException