public class HttpServletRequestBean extends AbstractStaticallyDecorableBuiltInBean<HttpServletRequest>
HttpServletRequest
.AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Constructor and Description |
---|
HttpServletRequestBean(BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(HttpServletRequest instance,
CreationalContext<HttpServletRequest> creationalContext)
Destroy an instance of the contextual type.
|
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean.
|
protected HttpServletRequest |
newInstance(InjectionPoint ip,
CreationalContext<HttpServletRequest> 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 HttpServletRequestBean(BeanManagerImpl beanManager)
protected HttpServletRequest newInstance(InjectionPoint ip, CreationalContext<HttpServletRequest> creationalContext)
newInstance
in class AbstractDecorableBuiltInBean<HttpServletRequest>
public void destroy(HttpServletRequest instance, CreationalContext<HttpServletRequest> 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<HttpServletRequest>
getScope
in class ForwardingBeanAttributes<HttpServletRequest>
Copyright © 2013 Seam Framework. All Rights Reserved.