com.caucho.loader
Class AbstractEnvironmentListener

java.lang.Object
  extended by com.caucho.loader.AbstractEnvironmentListener
All Implemented Interfaces:
EnvironmentListener

public class AbstractEnvironmentListener
extends java.lang.Object
implements EnvironmentListener

Interface for receiving environment events.


Constructor Summary
AbstractEnvironmentListener()
           
 
Method Summary
 void environmentBind(EnvironmentClassLoader loader)
          Handles the case where the environment is binding injection targets
 void environmentConfigure(EnvironmentClassLoader loader)
          Handles the case where the environment is configuring and registering beans
 void environmentStart(EnvironmentClassLoader loader)
          Handles the case where the environment is starting (after init).
 void environmentStop(EnvironmentClassLoader loader)
          Handles the case where the environment is stopping (after init).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEnvironmentListener

public AbstractEnvironmentListener()
Method Detail

environmentConfigure

public void environmentConfigure(EnvironmentClassLoader loader)
                          throws ConfigException
Handles the case where the environment is configuring and registering beans

Specified by:
environmentConfigure in interface EnvironmentListener
Throws:
ConfigException

environmentBind

public void environmentBind(EnvironmentClassLoader loader)
                     throws ConfigException
Handles the case where the environment is binding injection targets

Specified by:
environmentBind in interface EnvironmentListener
Throws:
ConfigException

environmentStart

public void environmentStart(EnvironmentClassLoader loader)
                      throws StartLifecycleException
Handles the case where the environment is starting (after init).

Specified by:
environmentStart in interface EnvironmentListener
Throws:
StartLifecycleException

environmentStop

public void environmentStop(EnvironmentClassLoader loader)
Handles the case where the environment is stopping (after init).

Specified by:
environmentStop in interface EnvironmentListener