Class MessageDestination
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.MessageDestination
- All Implemented Interfaces:
Serializable, Injectable
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the display name.Get the large icon.Get the small icon.inthashCode()voidsetDisplayName(String displayName) Set the display name.voidsetLargeIcon(String largeIcon) Set the large icon.voidsetSmallIcon(String smallIcon) Set the small icon.toString()Return a String representation of this object.Methods inherited from class ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
Constructor Details
-
MessageDestination
public MessageDestination()Default constructor.
-
-
Method Details
-
getDisplayName
-
setDisplayName
Set the display name.- Parameters:
displayName- the display name
-
getLargeIcon
-
setLargeIcon
Set the large icon.- Parameters:
largeIcon- the large icon
-
getSmallIcon
-
setSmallIcon
Set the small icon.- Parameters:
smallIcon- the small icon
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceBase
-
equals
- Overrides:
equalsin classResourceBase
-