org.apache.openejb.config.sys
Class Resource

java.lang.Object
  extended by org.apache.openejb.config.sys.AbstractService
      extended by 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>
 


Field Summary
protected  List<String> aliases
           
protected  String jndi
           
 
Fields inherited from class org.apache.openejb.config.sys.AbstractService
className, constructor, factoryName, id, jar, properties, provider, type
 
Constructor Summary
Resource()
           
Resource(String id)
           
Resource(String id, String type)
           
Resource(String id, String type, String provider)
           
 
Method Summary
 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.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jndi

protected String jndi

aliases

protected List<String> aliases
Constructor Detail

Resource

public Resource(String id)

Resource

public Resource(String id,
                String type)

Resource

public Resource(String id,
                String type,
                String provider)

Resource

public Resource()
Method Detail

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.