org.apache.openejb.config.sys
Class Resource
java.lang.Object
org.apache.openejb.config.sys.AbstractService
org.apache.openejb.config.sys.Resource
- All Implemented Interfaces:
- Service
- Direct Known Subclasses:
- ActiveMQResourceAdapterBuilder, DataSourceBuilder, JavaMailSessionBuilder, JmsConnectionFactoryBuilder, ORBBuilder, ProviderGenerator, QueueBuilder, TopicBuilder
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>
| Methods inherited from class org.apache.openejb.config.sys.AbstractService |
getClassName, getConstructor, getFactoryName, getId, getJar, getProperties, getProvider, getType, setClassName, setConstructor, setFactoryName, setId, setJar, setProvider, setType |
jndi
protected String jndi
aliases
protected List<String> aliases
Resource
public Resource(String id)
Resource
public Resource(String id,
String type)
Resource
public Resource(String id,
String type,
String provider)
Resource
public Resource()
getJndi
public String getJndi()
- Gets the value of the jndi property.
- Returns:
- possible object is
String
setJndi
public void setJndi(String value)
- Sets the value of the jndi property.
- Parameters:
value - allowed object is
String
getAliases
public List<String> getAliases()
equals
public boolean equals(Object o)
- Overrides:
equals in class AbstractService
hashCode
public int hashCode()
- Overrides:
hashCode in class AbstractService
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.