org.apache.openejb.jee.jba
Class ResourceManager

java.lang.Object
  extended by org.apache.openejb.jee.jba.ResourceManager

public class ResourceManager
extends Object


Field Summary
protected  List<Object> resJndiNameOrResUrl
           
protected  String resName
           
 
Constructor Summary
ResourceManager()
           
 
Method Summary
 List<Object> getResJndiNameOrResUrl()
          Gets the value of the resJndiNameOrResUrl property.
 String getResName()
          Gets the value of the resName property.
 void setResName(String value)
          Sets the value of the resName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resName

protected String resName

resJndiNameOrResUrl

protected List<Object> resJndiNameOrResUrl
Constructor Detail

ResourceManager

public ResourceManager()
Method Detail

getResName

public String getResName()
Gets the value of the resName property.

Returns:
possible object is String

setResName

public void setResName(String value)
Sets the value of the resName property.

Parameters:
value - allowed object is String

getResJndiNameOrResUrl

public List<Object> getResJndiNameOrResUrl()
Gets the value of the resJndiNameOrResUrl 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 resJndiNameOrResUrl property.

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

    getResJndiNameOrResUrl().add(newItem);
 

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



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