public class HttpSessionBean extends AbstractStaticallyDecorableBuiltInBean<HttpSession>
HttpSession
.AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Constructor and Description |
---|
HttpSessionBean(BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(HttpSession instance,
CreationalContext<HttpSession> creationalContext)
Destroy an instance of the contextual type.
|
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean.
|
protected HttpSession |
newInstance(InjectionPoint ip,
CreationalContext<HttpSession> creationalContext) |
getDecorators, getProxyClass, initializeAfterBeanDiscovery
create, getBeanClass, getDecorators, getInjectionPoint
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanManager, getQualifierInstances, initialize, isDependent
attributes, equals, getId, hashCode, isNullable, setAttributes, toString, unwrap
getName, getQualifiers, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getInjectionPoints, isNullable
getName, getQualifiers, getStereotypes, getTypes, isAlternative
getId
public HttpSessionBean(BeanManagerImpl manager)
protected HttpSession newInstance(InjectionPoint ip, CreationalContext<HttpSession> creationalContext)
newInstance
in class AbstractDecorableBuiltInBean<HttpSession>
public void destroy(HttpSession instance, CreationalContext<HttpSession> creationalContext)
Contextual
CreationalContext.release()
to allow the container to destroy dependent objects of
the contextual instance.instance
- the contextual instance to destroycreationalContext
- the context in which this instance was createdpublic Class<? extends Annotation> getScope()
BeanAttributes
getScope
in interface BeanAttributes<HttpSession>
getScope
in class ForwardingBeanAttributes<HttpSession>
Copyright © 2013 Seam Framework. All Rights Reserved.