org.jboss.seam.solder.serviceHandler
Class ServiceHandlerBeanLifecycle<T,H>
java.lang.Object
org.jboss.seam.solder.serviceHandler.ServiceHandlerBeanLifecycle<T,H>
- Type Parameters:
T - H -
- All Implemented Interfaces:
- ContextualLifecycle<T>
public class ServiceHandlerBeanLifecycle<T,H>
- extends Object
- implements ContextualLifecycle<T>
Bean lifecycle for ServiceHandler beans
- Author:
- Stuart Douglas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceHandlerBeanLifecycle
public ServiceHandlerBeanLifecycle(Class<? extends T> classToImplement,
Class<H> handlerClass,
BeanManager manager)
create
public T create(Bean<T> bean,
CreationalContext<T> creationalContext)
- Description copied from interface:
ContextualLifecycle
- Callback invoked by a Seam Solder created bean when
Contextual.create(CreationalContext) is called.
- Specified by:
create in interface ContextualLifecycle<T>
- Parameters:
bean - the bean initiating the callbackcreationalContext - the context in which this instance was created
destroy
public void destroy(Bean<T> bean,
T instance,
CreationalContext<T> creationalContext)
- Description copied from interface:
ContextualLifecycle
- Callback invoked by a Seam Solder created bean when
Contextual.destroy(Object, CreationalContext) is called.
- Specified by:
destroy in interface ContextualLifecycle<T>
- Parameters:
bean - the bean initiating the callbackinstance - the contextual instance to destroycreationalContext - the context in which this instance was created
Copyright © 2008-2011 Seam Framework. All Rights Reserved.