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

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.ResourceRef

public class ResourceRef
extends HasPattern

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

Has 4 JavaBean Properties
- refName (type String)
- pattern (type Pattern)
- url (type String)
- resourceLink (type String)


Field Summary
 
Fields inherited from class org.apache.geronimo.deployment.plugin.XmlBeanSupport
pcs
 
Constructor Summary
ResourceRef()
           
ResourceRef(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType 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(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType xml)
           
 String getRefName()
           
 String getResourceLink()
           
protected  org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType getResourceRef()
           
 String getUrl()
           
 void setRefName(String name)
           
 void setResourceLink(String link)
           
 void setUrl(String link)
           
 
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

ResourceRef

public ResourceRef()

ResourceRef

public ResourceRef(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType xmlObject)
Method Detail

setRefName

public void setRefName(String name)

getRefName

public String getRefName()

getResourceLink

public String getResourceLink()

setResourceLink

public void setResourceLink(String link)

getUrl

public String getUrl()

setUrl

public void setUrl(String link)

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 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType getResourceRef()

configure

public void configure(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType xml)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.