public class Resource extends AbstractService
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="jar" type="{http://www.openejb.org/System/Configuration}JarFileLocation" /> <attribute name="jndi" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
aliases |
protected java.util.List<java.lang.String> |
dependsOn |
protected java.lang.String |
jndi |
protected java.lang.String |
postConstruct |
protected java.lang.String |
preDestroy |
className, classpath, classpathAPI, constructor, factoryName, id, jar, properties, provider, type
Constructor and Description |
---|
Resource() |
Resource(java.lang.String id) |
Resource(java.lang.String id,
java.lang.String type) |
Resource(java.lang.String id,
java.lang.String type,
java.lang.String provider) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getAliases() |
java.util.List<java.lang.String> |
getDependsOn() |
java.lang.String |
getJndi()
Gets the value of the jndi property.
|
java.lang.String |
getPostConstruct() |
java.lang.String |
getPreDestroy() |
int |
hashCode() |
void |
setJndi(java.lang.String value)
Sets the value of the jndi property.
|
void |
setPostConstruct(java.lang.String postConstruct) |
void |
setPreDestroy(java.lang.String preDestroy) |
getClassName, getClasspath, getClasspathAPI, getConstructor, getFactoryName, getId, getJar, getProperties, getPropertiesProvider, getProvider, getTemplate, getType, setClassName, setClasspath, setClasspathAPI, setConstructor, setFactoryName, setId, setJar, setPropertiesProvider, setProvider, setTemplate, setType
protected java.lang.String jndi
protected java.lang.String postConstruct
protected java.lang.String preDestroy
protected java.util.List<java.lang.String> aliases
protected java.util.List<java.lang.String> dependsOn
public Resource(java.lang.String id)
public Resource(java.lang.String id, java.lang.String type)
public Resource(java.lang.String id, java.lang.String type, java.lang.String provider)
public Resource()
public java.lang.String getJndi()
String
public void setJndi(java.lang.String value)
value
- allowed object is
String
public java.util.List<java.lang.String> getAliases()
public java.util.List<java.lang.String> getDependsOn()
public java.lang.String getPostConstruct()
public void setPostConstruct(java.lang.String postConstruct)
public java.lang.String getPreDestroy()
public void setPreDestroy(java.lang.String preDestroy)
public boolean equals(java.lang.Object o)
equals
in class AbstractService
public int hashCode()
hashCode
in class AbstractService