org.apache.geronimo.system.configuration
Class GBeanOverride
java.lang.Object
org.apache.geronimo.system.configuration.GBeanOverride
- All Implemented Interfaces:
- Serializable
public class GBeanOverride
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBeanOverride
public GBeanOverride(String name,
boolean load)
GBeanOverride
public GBeanOverride(org.apache.geronimo.gbean.AbstractName name,
boolean load)
GBeanOverride
public GBeanOverride(org.apache.geronimo.gbean.GBeanData gbeanData)
throws InvalidAttributeException
- Throws:
InvalidAttributeException
GBeanOverride
public GBeanOverride(Element gbean)
throws org.apache.geronimo.kernel.InvalidGBeanException
- Throws:
org.apache.geronimo.kernel.InvalidGBeanException
getName
public Object getName()
getGBeanInfo
public String getGBeanInfo()
isLoad
public boolean isLoad()
setLoad
public void setLoad(boolean load)
getAttributes
public Map getAttributes()
getAttribute
public String getAttribute(String attributeName)
getClearAttributes
public ArrayList getClearAttributes()
getNullAttributes
public ArrayList getNullAttributes()
getNullAttribute
public boolean getNullAttribute(String attributeName)
getClearAttribute
public boolean getClearAttribute(String attributeName)
getClearReferences
public ArrayList getClearReferences()
getClearReference
public boolean getClearReference(String referenceName)
setClearAttribute
public void setClearAttribute(String attributeName)
setNullAttribute
public void setNullAttribute(String attributeName)
setClearReference
public void setClearReference(String referenceName)
setAttribute
public void setAttribute(String attributeName,
Object attributeValue,
String attributeType)
throws InvalidAttributeException
- Throws:
InvalidAttributeException
setAttribute
public void setAttribute(String attributeName,
String attributeValue)
getReferences
public Map getReferences()
getReferencePatterns
public org.apache.geronimo.gbean.ReferencePatterns getReferencePatterns(String name)
setReferencePatterns
public void setReferencePatterns(String name,
org.apache.geronimo.gbean.ReferencePatterns patterns)
writeXml
public Element writeXml(Document doc,
Element parent)
- Creates a new child of the supplied parent with the data for this
GBeanOverride, adds it to the parent, and then returns the new
child element.
getAsText
public static String getAsText(Object value,
String type)
throws InvalidAttributeException
- Throws:
InvalidAttributeException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.