Class MessageDestination
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.web.ResourceBase
-
- org.apache.tomcat.util.descriptor.web.MessageDestination
-
- All Implemented Interfaces:
java.io.Serializable,Injectable
public class MessageDestination extends ResourceBase
Representation of a message destination for a web application, as represented in a
<message-destination>element in the deployment descriptor.- Since:
- Tomcat 5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageDestination()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDisplayName()Get the display name.java.lang.StringgetLargeIcon()Get the large icon.java.lang.StringgetSmallIcon()Get the small icon.inthashCode()voidsetDisplayName(java.lang.String displayName)Set the display name.voidsetLargeIcon(java.lang.String largeIcon)Set the large icon.voidsetSmallIcon(java.lang.String smallIcon)Set the small icon.java.lang.StringtoString()Return a String representation of this object.-
Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
Get the display name.- Returns:
- the display name
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Set the display name.- Parameters:
displayName- the display name
-
getLargeIcon
public java.lang.String getLargeIcon()
Get the large icon.- Returns:
- the large icon
-
setLargeIcon
public void setLargeIcon(java.lang.String largeIcon)
Set the large icon.- Parameters:
largeIcon- the large icon
-
getSmallIcon
public java.lang.String getSmallIcon()
Get the small icon.- Returns:
- the small icon
-
setSmallIcon
public void setSmallIcon(java.lang.String smallIcon)
Set the small icon.- Parameters:
smallIcon- the small icon
-
toString
public java.lang.String toString()
Return a String representation of this object.- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResourceBase
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classResourceBase
-
-