public class ResourceBase extends Object implements 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(String injectionTargetName,
String jndiName) |
boolean |
equals(Object obj) |
String |
getDescription() |
List<InjectionTarget> |
getInjectionTargets() |
String |
getLookupName() |
String |
getName() |
NamingResources |
getNamingResources() |
Object |
getProperty(String name)
Return a configured property.
|
String |
getType() |
int |
hashCode() |
Iterator<String> |
listProperties()
List properties.
|
void |
removeProperty(String name)
Remove a configured property.
|
void |
setDescription(String description) |
void |
setLookupName(String lookupName) |
void |
setName(String name) |
void |
setProperty(String name,
Object value)
Set a configured property.
|
void |
setType(String type) |
protected NamingResources resources
public String getDescription()
public void setDescription(String description)
public String getName()
getName
in interface Injectable
public void setName(String name)
public String getType()
public void setType(String type)
public String getLookupName()
public void setLookupName(String lookupName)
public void removeProperty(String name)
public void addInjectionTarget(String injectionTargetName, String jndiName)
addInjectionTarget
in interface Injectable
public List<InjectionTarget> getInjectionTargets()
getInjectionTargets
in interface Injectable
public NamingResources getNamingResources()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.