org.apache.geronimo.client
Class AppClientContainer

java.lang.Object
  extended by org.apache.geronimo.client.AppClientContainer
All Implemented Interfaces:
GBeanLifecycle

public final class AppClientContainer
extends Object
implements GBeanLifecycle


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
AppClientContainer(String mainClassName, AbstractName appClientModuleName, String realmName, String callbackHandlerClassName, SubjectInfo defaultSubject, Holder holder, AppClientPlugin jndiContext, CredentialStore credentialStore, ClassLoader classLoader, Kernel kernel)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 AbstractName getAppClientModuleName()
           
static GBeanInfo getGBeanInfo()
           
 String getMainClassName()
           
 void main(String[] args)
           
 
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

AppClientContainer

public AppClientContainer(String mainClassName,
                          AbstractName appClientModuleName,
                          String realmName,
                          String callbackHandlerClassName,
                          SubjectInfo defaultSubject,
                          Holder holder,
                          AppClientPlugin jndiContext,
                          CredentialStore credentialStore,
                          ClassLoader classLoader,
                          Kernel kernel)
                   throws Exception
Throws:
Exception
Method Detail

getAppClientModuleName

public AbstractName getAppClientModuleName()

getMainClassName

public String getMainClassName()

main

public void main(String[] args)
          throws Exception
Throws:
Exception

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()
            throws Exception
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
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

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

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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