org.apache.geronimo.deployment.service
Class EnvironmentBuilder
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.deployment.service.EnvironmentBuilder
- All Implemented Interfaces:
- PropertyEditor, XmlAttributeBuilder
public class EnvironmentBuilder
- extends PropertyEditorSupport
- implements XmlAttributeBuilder
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentBuilder
public EnvironmentBuilder()
buildEnvironment
public static Environment buildEnvironment(EnvironmentType environmentType)
mergeEnvironments
public static void mergeEnvironments(Environment environment,
Environment additionalEnvironment)
buildEnvironment
public static Environment buildEnvironment(EnvironmentType environmentType,
Environment defaultEnvironment)
buildEnvironmentType
public static EnvironmentType buildEnvironmentType(Environment environment)
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interface XmlAttributeBuilder
getValue
public Object getValue(org.apache.xmlbeans.XmlObject xmlObject,
String type,
ClassLoader cl)
throws DeploymentException
- Specified by:
getValue
in interface XmlAttributeBuilder
- Throws:
DeploymentException
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
setAsText
public void setAsText(String text)
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.