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 org.apache.geronimo.kernel.repository.Environment buildEnvironment(EnvironmentType environmentType)
           
static org.apache.geronimo.kernel.repository.Environment buildEnvironment(EnvironmentType environmentType, org.apache.geronimo.kernel.repository.Environment defaultEnvironment)
           
static EnvironmentType buildEnvironmentType(org.apache.geronimo.kernel.repository.Environment environment)
           
 String getAsText()
           
 String getNamespace()
           
 Object getValue(org.apache.xmlbeans.XmlObject xmlObject, String type, ClassLoader cl)
           
static void mergeEnvironments(org.apache.geronimo.kernel.repository.Environment environment, org.apache.geronimo.kernel.repository.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 org.apache.geronimo.kernel.repository.Environment buildEnvironment(EnvironmentType environmentType)

mergeEnvironments

public static void mergeEnvironments(org.apache.geronimo.kernel.repository.Environment environment,
                                     org.apache.geronimo.kernel.repository.Environment additionalEnvironment)

buildEnvironment

public static org.apache.geronimo.kernel.repository.Environment buildEnvironment(EnvironmentType environmentType,
                                                                                 org.apache.geronimo.kernel.repository.Environment defaultEnvironment)

buildEnvironmentType

public static EnvironmentType buildEnvironmentType(org.apache.geronimo.kernel.repository.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 org.apache.geronimo.common.DeploymentException
Specified by:
getValue in interface XmlAttributeBuilder
Throws:
org.apache.geronimo.common.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 © 2006 Apache Software Foundation. All Rights Reserved.