org.apache.geronimo.myfaces
Class LifecycleProviderGBean
java.lang.Object
org.apache.geronimo.myfaces.LifecycleProviderGBean
- All Implemented Interfaces:
- GBeanLifecycle, org.apache.myfaces.config.annotation.LifecycleProvider
public class LifecycleProviderGBean
- extends Object
- implements org.apache.myfaces.config.annotation.LifecycleProvider, GBeanLifecycle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
LifecycleProviderGBean
public LifecycleProviderGBean(Holder holder,
Map componentContext,
LifecycleProviderFactorySource factory,
Kernel kernel,
ClassLoader classLoader)
throws NamingException
- Throws:
NamingException
newInstance
public Object newInstance(String className)
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
NamingException,
InvocationTargetException
- Specified by:
newInstance
in interface org.apache.myfaces.config.annotation.LifecycleProvider
- Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
NamingException
InvocationTargetException
destroyInstance
public void destroyInstance(Object o)
throws IllegalAccessException,
InvocationTargetException
- Specified by:
destroyInstance
in interface org.apache.myfaces.config.annotation.LifecycleProvider
- Throws:
IllegalAccessException
InvocationTargetException
doStart
public void doStart()
- 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
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
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.