org.apache.geronimo.naming.deployment.jsr88
Class ResourceEnvRef

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.XmlBeanSupport
      extended by org.apache.geronimo.naming.deployment.jsr88.HasPattern
          extended by org.apache.geronimo.naming.deployment.jsr88.ResourceEnvRef

public class ResourceEnvRef
extends HasPattern

Represents an element of the resource-env-refType in a Geronimo deployment plan.

Has 4 JavaBean Properties
- refName (type String)
- pattern (type Pattern)
- adminObjectModule (type String)
- adminObjectLink (type String)


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
ResourceEnvRef()
           
ResourceEnvRef(GerResourceEnvRefType xmlObject)
           
 
Method Summary
protected  void clearNonPatternFromChoice()
          Should be overridden to remove any non-pattern elements if this element has a pattern that's part of a choice.
 void configure(GerResourceEnvRefType xml)
           
 String getAdminObjectLink()
           
 String getAdminObjectModule()
           
 String getRefName()
           
protected  GerResourceEnvRefType getResourceRef()
           
 void setAdminObjectLink(String link)
           
 void setAdminObjectModule(String module)
           
 void setRefName(String name)
           
 
Methods inherited from class org.apache.geronimo.naming.deployment.jsr88.HasPattern
clearPatternFromChoice, findPattern, getPattern, setPattern
 
Methods inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
addPropertyChangeListener, configured, fromXML, getSchemaTypeLoader, getXmlObject, isEmpty, removePropertyChangeListener, setXmlObject, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceEnvRef

public ResourceEnvRef()

ResourceEnvRef

public ResourceEnvRef(GerResourceEnvRefType xmlObject)
Method Detail

setRefName

public void setRefName(String name)

getRefName

public String getRefName()

getAdminObjectLink

public String getAdminObjectLink()

setAdminObjectLink

public void setAdminObjectLink(String link)

getAdminObjectModule

public String getAdminObjectModule()

setAdminObjectModule

public void setAdminObjectModule(String module)

clearNonPatternFromChoice

protected void clearNonPatternFromChoice()
Description copied from class: HasPattern
Should be overridden to remove any non-pattern elements if this element has a pattern that's part of a choice. If this is called, it means a non-null Pattern is in the process of being set. This method should fire property change events on any elements it removes.

Overrides:
clearNonPatternFromChoice in class HasPattern

getResourceRef

protected GerResourceEnvRefType getResourceRef()

configure

public void configure(GerResourceEnvRefType xml)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.