org.apache.geronimo.deployment.service
Class EnvironmentBuilder

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.deployment.service.EnvironmentBuilder
All Implemented Interfaces:
PropertyEditor, XmlAttributeBuilder

public class EnvironmentBuilder
extends PropertyEditorSupport
implements XmlAttributeBuilder


Constructor Summary
EnvironmentBuilder()
           
 
Method Summary
static Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType)
           
static Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType, Environment defaultEnvironment)
           
static org.apache.geronimo.deployment.xbeans.EnvironmentType buildEnvironmentType(Environment environment)
           
 String getAsText()
           
 String getNamespace()
           
 Object getValue(org.apache.xmlbeans.XmlObject xmlObject, String type, ClassLoader cl)
           
static void mergeEnvironments(Environment environment, Environment additionalEnvironment)
           
 void setAsText(String text)
           
 
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
 

Constructor Detail

EnvironmentBuilder

public EnvironmentBuilder()
Method Detail

buildEnvironment

public static Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType)

mergeEnvironments

public static void mergeEnvironments(Environment environment,
                                     Environment additionalEnvironment)

buildEnvironment

public static Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType,
                                           Environment defaultEnvironment)

buildEnvironmentType

public static org.apache.geronimo.deployment.xbeans.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-2007 Apache Software Foundation. All Rights Reserved.