com.caucho.jca.ra
Class ResourceAdapterController

java.lang.Object
  extended by com.caucho.jca.ra.ResourceAdapterController
All Implemented Interfaces:
EnvironmentListener

public class ResourceAdapterController
extends java.lang.Object
implements EnvironmentListener

Controller for a resource-adapter


Constructor Summary
ResourceAdapterController(Bean<ResourceAdapter> comp, ResourceArchive raConfig)
           
 
Method Summary
 void environmentBind(EnvironmentClassLoader loader)
          Handles the environment bind phase.
 void environmentConfigure(EnvironmentClassLoader loader)
          Handles the environment config phase.
 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
 ResourceAdapter getResourceAdapter()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAdapterController

public ResourceAdapterController(Bean<ResourceAdapter> comp,
                                 ResourceArchive raConfig)
Method Detail

getResourceAdapter

public ResourceAdapter getResourceAdapter()

environmentConfigure

public void environmentConfigure(EnvironmentClassLoader loader)
                          throws StartLifecycleException
Handles the environment config phase.

Specified by:
environmentConfigure in interface EnvironmentListener
Throws:
StartLifecycleException

environmentBind

public void environmentBind(EnvironmentClassLoader loader)
                     throws StartLifecycleException
Handles the environment bind phase.

Specified by:
environmentBind in interface EnvironmentListener
Throws:
StartLifecycleException

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

Specified by:
environmentStop in interface EnvironmentListener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object