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

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  String jndi
           
 
Fields inherited from class org.apache.openejb.config.sys.AbstractService
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
 String getJndi()
          Gets the value of the jndi property.
 void setJndi(String value)
          Sets the value of the jndi property.
 
Methods inherited from class org.apache.openejb.config.sys.AbstractService
getId, getJar, getProperties, getProvider, getType, setId, setJar, setProvider, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jndi

protected String jndi
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


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.