Class ResourceBase
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
- All Implemented Interfaces:
- Serializable,- Injectable
- Direct Known Subclasses:
- ContextEjb,- ContextEnvironment,- ContextHandler,- ContextLocalEjb,- ContextResource,- ContextResourceEnvRef,- ContextResourceLink,- ContextService,- MessageDestination,- MessageDestinationRef
Representation of an Context element
- Author:
- Peter Rossbach (pero@apache.org)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddInjectionTarget(String injectionTargetName, String jndiName) booleangetName()getProperty(String name) getType()inthashCode()List properties.voidremoveProperty(String name) Remove a configured property.voidsetDescription(String description) voidsetLookupName(String lookupName) voidvoidsetNamingResources(NamingResources resources) voidsetProperty(String name, Object value) Set a configured property.void
- 
Constructor Details- 
ResourceBasepublic ResourceBase()
 
- 
- 
Method Details- 
getDescription
- 
setDescription
- 
getName- Specified by:
- getNamein interface- Injectable
 
- 
setName
- 
getType
- 
setType
- 
getLookupName
- 
setLookupName
- 
getProperty- Parameters:
- name- The property name
- Returns:
- a configured property.
 
- 
setPropertySet a configured property.- Parameters:
- name- The property name
- value- The property value
 
- 
removePropertyRemove a configured property.- Parameters:
- name- The property name
 
- 
listPropertiesList properties.- Returns:
- the property names iterator
 
- 
addInjectionTarget- Specified by:
- addInjectionTargetin interface- Injectable
 
- 
getInjectionTargets- Specified by:
- getInjectionTargetsin interface- Injectable
 
- 
hashCodepublic int hashCode()
- 
equals
- 
getNamingResources
- 
setNamingResources
 
-