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 List<String> |
aliases |
protected String |
jndi |
className, classpath, constructor, factoryName, id, jar, properties, provider, type| Constructor and Description |
|---|
Resource() |
Resource(String id) |
Resource(String id,
String type) |
Resource(String id,
String type,
String provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<String> |
getAliases() |
String |
getJndi()
Gets the value of the jndi property.
|
int |
hashCode() |
void |
setJndi(String value)
Sets the value of the jndi property.
|
getClassName, getClasspath, getConstructor, getFactoryName, getId, getJar, getProperties, getProvider, getType, setClassName, setClasspath, setConstructor, setFactoryName, setId, setJar, setProvider, setTypepublic Resource(String id)
public Resource()
public String getJndi()
Stringpublic void setJndi(String value)
value - allowed object is
Stringpublic boolean equals(Object o)
equals in class AbstractServicepublic int hashCode()
hashCode in class AbstractServiceCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.