org.apache.geronimo.naming.deployment
Class EnvironmentEntryBuilder

java.lang.Object
  extended by org.apache.geronimo.naming.deployment.AbstractNamingBuilder
      extended by org.apache.geronimo.naming.deployment.EnvironmentEntryBuilder
All Implemented Interfaces:
AbstractNamespaceBuilder, GBeanLifecycle, NamingBuilder

public class EnvironmentEntryBuilder
extends AbstractNamingBuilder
implements GBeanLifecycle


Nested Class Summary
static class EnvironmentEntryBuilder.EnvEntryRefProcessor
           
 
Nested classes/interfaces inherited from interface org.apache.geronimo.j2ee.deployment.NamingBuilder
NamingBuilder.Key<T>
 
Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.naming.deployment.AbstractNamingBuilder
J2EE_CONVERTER, J2EE_NAMESPACE, JEE_CONVERTER, JEE_NAMESPACE, NAMING_CONVERTER
 
Fields inherited from interface org.apache.geronimo.j2ee.deployment.NamingBuilder
ENV, GBEAN_NAME_KEY, INJECTION_KEY, JNDI_KEY, NO_REFS
 
Constructor Summary
EnvironmentEntryBuilder(String[] eeNamespaces)
           
 
Method Summary
 void buildNaming(org.apache.xmlbeans.XmlObject specDD, org.apache.xmlbeans.XmlObject plan, Module module, Map componentContext)
           
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
static GBeanInfo getGBeanInfo()
           
 org.apache.xmlbeans.QNameSet getPlanQNameSet()
           
 org.apache.xmlbeans.QNameSet getSpecQNameSet()
           
 
Methods inherited from class org.apache.geronimo.naming.deployment.AbstractNamingBuilder
addInjections, assureInterface, buildAbstractNameQuery, buildAbstractNameQuery, buildEnvironment, buildQNameSet, convert, convert, convert, getConfigId, getEnvironment, getGBeanName, getJndiContextMap, getStringValue, getStringValue, initContext, matchesDefaultEnvironment, willMergeEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

EnvironmentEntryBuilder

public EnvironmentEntryBuilder(String[] eeNamespaces)
Method Detail

doStart

public void doStart()
             throws Exception
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle

buildNaming

public void buildNaming(org.apache.xmlbeans.XmlObject specDD,
                        org.apache.xmlbeans.XmlObject plan,
                        Module module,
                        Map componentContext)
                 throws DeploymentException
Specified by:
buildNaming in interface NamingBuilder
Throws:
DeploymentException

getSpecQNameSet

public org.apache.xmlbeans.QNameSet getSpecQNameSet()
Specified by:
getSpecQNameSet in interface AbstractNamespaceBuilder

getPlanQNameSet

public org.apache.xmlbeans.QNameSet getPlanQNameSet()
Specified by:
getPlanQNameSet in interface AbstractNamespaceBuilder

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.