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 Summary
Constructors -
Method Summary
Modifier 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
-
ResourceBase
public ResourceBase()
-
-
Method Details
-
getDescription
-
setDescription
-
getName
- Specified by:
getNamein interfaceInjectable
-
setName
-
getType
-
setType
-
getLookupName
-
setLookupName
-
getProperty
-
setProperty
-
removeProperty
Remove a configured property.- Parameters:
name- The property name
-
listProperties
-
addInjectionTarget
- Specified by:
addInjectionTargetin interfaceInjectable
-
getInjectionTargets
- Specified by:
getInjectionTargetsin interfaceInjectable
-
hashCode
-
equals
-
getNamingResources
-
setNamingResources
-