public class ResourceBase extends Object implements Serializable, Injectable
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 |
getName() |
NamingResources |
getNamingResources() |
Object |
getProperty(String name) |
String |
getType() |
int |
hashCode() |
Iterator<String> |
listProperties()
List properties.
|
void |
removeProperty(String name)
Remove a configured property.
|
void |
setDescription(String description) |
void |
setName(String name) |
void |
setNamingResources(NamingResources resources) |
void |
setProperty(String name,
Object value)
Set a configured property.
|
void |
setType(String type) |
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 Object getProperty(String name)
name
- The property namepublic void setProperty(String name, Object value)
name
- The property namevalue
- The property valuepublic void removeProperty(String name)
name
- The property namepublic Iterator<String> listProperties()
public void addInjectionTarget(String injectionTargetName, String jndiName)
addInjectionTarget
in interface Injectable
public List<InjectionTarget> getInjectionTargets()
getInjectionTargets
in interface Injectable
public NamingResources getNamingResources()
public void setNamingResources(NamingResources resources)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.