|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.jms.extensions.DestinationInfo
public class 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.
cd - An open data representation of a DestinationInfo object.
IOException - Thrown when a
ClassNotFoundException
OpenDataExceptionpublic DestinationInfo(WLDestination destination)
Creates a DestinationInfo instance from the specified WebLogic destination object.
destination - A WebLogic destination.| Method Detail |
|---|
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 serverName)
Sets the server name attribute.
serverName - The serverName 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
OpenDataException
protected Map getCompositeDataMap()
throws OpenDataException
OpenDataException
protected CompositeType getCompositeType()
throws OpenDataException
OpenDataException
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||