org.apache.geronimo.deployment.service
Class EnvironmentBuilder

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

public class EnvironmentBuilder
extends PropertyEditorSupport
implements XmlAttributeBuilder

Version:
$Rev: 409817 $ $Date: 2006-05-27 09:56:38 +0200 (Sat, 27 May 2006) $

Constructor Summary
EnvironmentBuilder()
           
 
Method Summary
static org.apache.geronimo.kernel.repository.Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType)
           
static org.apache.geronimo.kernel.repository.Environment buildEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType, org.apache.geronimo.kernel.repository.Environment defaultEnvironment)
           
static org.apache.geronimo.deployment.xbeans.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, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, 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(org.apache.geronimo.deployment.xbeans.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(org.apache.geronimo.deployment.xbeans.EnvironmentType environmentType,
                                                                                 org.apache.geronimo.kernel.repository.Environment defaultEnvironment)

buildEnvironmentType

public static org.apache.geronimo.deployment.xbeans.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

setAsText

public void setAsText(String text)
Specified by:
setAsText in interface PropertyEditor


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