org.apache.openejb.config.sys
Class Resources

java.lang.Object
  extended by org.apache.openejb.config.sys.Resources

public class Resources
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.openejb.org/System/Configuration}Container" maxOccurs="unbounded"/>
         <element ref="{http://www.openejb.org/System/Configuration}JndiProvider" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.openejb.org/System/Configuration}ConnectionManager" minOccurs="0"/>
         <element ref="{http://www.openejb.org/System/Configuration}Connector" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.openejb.org/System/Configuration}Resource" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ConnectionManager connectionManager
           
protected  List<Container> container
           
protected  List<JndiProvider> jndiProvider
           
protected  List<Resource> resource
           
 
Constructor Summary
Resources()
           
 
Method Summary
 void add(Object service)
           
 ConnectionManager getConnectionManager()
          Gets the value of the connectionManager property.
 List<Container> getContainer()
          Gets the value of the container property.
 List<JndiProvider> getJndiProvider()
          Gets the value of the jndiProvider property.
 List<Resource> getResource()
          Gets the value of the resource property.
 void setConnectionManager(ConnectionManager value)
          Sets the value of the connectionManager property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected List<Container> container

jndiProvider

protected List<JndiProvider> jndiProvider

connectionManager

protected ConnectionManager connectionManager

resource

protected List<Resource> resource
Constructor Detail

Resources

public Resources()
Method Detail

getContainer

public List<Container> getContainer()
Gets the value of the container property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the container property.

For example, to add a new item, do as follows:

    getContainer().add(newItem);
 

Objects of the following type(s) are allowed in the list Container


getJndiProvider

public List<JndiProvider> getJndiProvider()
Gets the value of the jndiProvider property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the jndiProvider property.

For example, to add a new item, do as follows:

    getJndiProvider().add(newItem);
 

Objects of the following type(s) are allowed in the list JndiProvider


getConnectionManager

public ConnectionManager getConnectionManager()
Gets the value of the connectionManager property.

Returns:
possible object is ConnectionManager

setConnectionManager

public void setConnectionManager(ConnectionManager value)
Sets the value of the connectionManager property.

Parameters:
value - allowed object is ConnectionManager

getResource

public List<Resource> getResource()
Gets the value of the resource property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the resource property.

For example, to add a new item, do as follows:

    getResource().add(newItem);
 

Objects of the following type(s) are allowed in the list Resource


add

public void add(Object service)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.