public class ServletContextBean extends AbstractStaticallyDecorableBuiltInBean<ServletContext>
ServletContext.AbstractBuiltInBean.BuiltInBeanAttributes<T>beanManager| Constructor and Description |
|---|
ServletContextBean(BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(ServletContext instance,
CreationalContext<ServletContext> creationalContext)
Destroy an instance of the contextual type.
|
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean.
|
protected ServletContext |
newInstance(InjectionPoint ip,
CreationalContext<ServletContext> creationalContext) |
getDecorators, getProxyClass, initializeAfterBeanDiscoverycreate, getBeanClass, getDecorators, getInjectionPointcleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitializegetBeanManager, getQualifierInstances, initialize, isDependent, isNormalScopedattributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, toString, unwrapgetName, getQualifiers, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInjectionPoints, isNullablegetName, getQualifiers, getStereotypes, getTypes, isAlternativegetIdpublic ServletContextBean(BeanManagerImpl beanManager)
protected ServletContext newInstance(InjectionPoint ip, CreationalContext<ServletContext> creationalContext)
newInstance in class AbstractDecorableBuiltInBean<ServletContext>public void destroy(ServletContext instance,
CreationalContext<ServletContext> creationalContext)
ContextualCreationalContext.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()
BeanAttributesgetScope in interface BeanAttributes<ServletContext>getScope in class ForwardingBeanAttributes<ServletContext>Copyright © 2014. All Rights Reserved.