public class ResourceBase extends java.lang.Object implements java.io.Serializable, Injectable
Modifier and Type | Field and Description |
---|---|
protected NamingResources |
resources
The NamingResources with which we are associated (if any).
|
Constructor and Description |
---|
ResourceBase() |
Modifier and Type | Method and Description |
---|---|
void |
addInjectionTarget(java.lang.String injectionTargetName,
java.lang.String jndiName) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription() |
java.util.List<InjectionTarget> |
getInjectionTargets() |
java.lang.String |
getName() |
NamingResources |
getNamingResources() |
java.lang.Object |
getProperty(java.lang.String name)
Return a configured property.
|
java.lang.String |
getType() |
int |
hashCode() |
java.util.Iterator<java.lang.String> |
listProperties()
List properties.
|
void |
removeProperty(java.lang.String name)
Remove a configured property.
|
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set a configured property.
|
void |
setType(java.lang.String type) |
protected NamingResources resources
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getName()
getName
in interface Injectable
public void setName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.Object getProperty(java.lang.String name)
public void setProperty(java.lang.String name, java.lang.Object value)
public void removeProperty(java.lang.String name)
public java.util.Iterator<java.lang.String> listProperties()
public void addInjectionTarget(java.lang.String injectionTargetName, java.lang.String jndiName)
addInjectionTarget
in interface Injectable
public java.util.List<InjectionTarget> getInjectionTargets()
getInjectionTargets
in interface Injectable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public NamingResources getNamingResources()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.