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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInjectionTarget
(String injectionTargetName, String jndiName) boolean
getName()
getProperty
(String name) getType()
int
hashCode()
List properties.void
removeProperty
(String name) Remove a configured property.void
setDescription
(String description) void
setLookupName
(String lookupName) void
void
setNamingResources
(NamingResources resources) void
setProperty
(String name, Object value) Set a configured property.void
-
Constructor Details
-
ResourceBase
public ResourceBase()
-
-
Method Details
-
getDescription
-
setDescription
-
getName
- Specified by:
getName
in interfaceInjectable
-
setName
-
getType
-
setType
-
getLookupName
-
setLookupName
-
getProperty
- Parameters:
name
- The property name- Returns:
- a configured property.
-
setProperty
Set a configured property.- Parameters:
name
- The property namevalue
- The property value
-
removeProperty
Remove a configured property.- Parameters:
name
- The property name
-
listProperties
List properties.- Returns:
- the property names iterator
-
addInjectionTarget
- Specified by:
addInjectionTarget
in interfaceInjectable
-
getInjectionTargets
- Specified by:
getInjectionTargets
in interfaceInjectable
-
hashCode
public int hashCode() -
equals
-
getNamingResources
-
setNamingResources
-