T - H - public class ServiceHandlerBeanLifecycle<T,H> extends Object implements ContextualLifecycle<T>
| Constructor and Description |
|---|
ServiceHandlerBeanLifecycle(Class<? extends T> classToImplement,
Class<H> handlerClass,
javax.enterprise.inject.spi.BeanManager manager) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(javax.enterprise.inject.spi.Bean<T> bean,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Callback invoked by a Solder created bean when
Contextual.create(CreationalContext) is called. |
void |
destroy(javax.enterprise.inject.spi.Bean<T> bean,
T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Callback invoked by a Solder created bean when
Contextual.destroy(Object, CreationalContext) is called. |
public T create(javax.enterprise.inject.spi.Bean<T> bean, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
ContextualLifecycleContextual.create(CreationalContext) is called.create in interface ContextualLifecycle<T>bean - the bean initiating the callbackcreationalContext - the context in which this instance was createdpublic void destroy(javax.enterprise.inject.spi.Bean<T> bean, T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
ContextualLifecycleContextual.destroy(Object, CreationalContext) is called.destroy in interface ContextualLifecycle<T>bean - the bean initiating the callbackinstance - the contextual instance to destroycreationalContext - the context in which this instance was createdCopyright © 2008–2013 Seam Framework. All rights reserved.