public class DestinationInfo extends 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 and Description |
|---|---|
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 jmsServerInstanceName)
Sets the server name attribute.
|
void |
setTopic(boolean topic)
Sets the topic attribute.
|
CompositeData |
toCompositeData()
Converts the instance to a CompositeData representation.
|
public CompositeData toCompositeData() throws OpenDataException
Converts the instance to a CompositeData representation.
OpenDataException - Thrown when an error occurs while constructing the CompositeData
representation.public String getName()
Returns the destination name.
public void setName(String name)
Sets the destination name.
name - The name to set.public String getApplicationName()
Returns the application name for the destination.
public void setApplicationName(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 String getModuleName()
Returns the module name to which the destination is scoped.
public void setModuleName(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 String getServerName()
Returns the server name on which the destination is hosted.
public void setServerName(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(CompositeData cd) throws OpenDataException
OpenDataExceptionprotected Map getCompositeDataMap() throws OpenDataException
OpenDataExceptionprotected CompositeType getCompositeType() throws OpenDataException
OpenDataException