public final class ContextFactory extends Object
Constructor and Description |
---|
ContextFactory(WebBeansContext webBeansContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
destroyApplicationContext(Object parameter)
Deprecated.
Destroys the application context and all of its components at the end of
the application.
|
void |
destroyConversationContext()
Deprecated.
|
void |
destroyRequestContext(Object request)
Deprecated.
|
void |
destroySessionContext(Object session)
Deprecated.
|
void |
destroySingletonContext(Object parameter)
Deprecated.
|
javax.enterprise.context.spi.Context |
getCustomContext(javax.enterprise.context.spi.Context context)
Deprecated.
|
javax.enterprise.context.spi.Context |
getStandardContext(Class<? extends Annotation> scopeType)
Deprecated.
Gets the standard context with given scope type.
|
void |
initApplicationContext(Object parameter)
Deprecated.
|
void |
initConversationContext(Object context)
Deprecated.
|
void |
initRequestContext(Object request)
Deprecated.
|
void |
initSessionContext(Object session)
Deprecated.
|
void |
initSingletonContext(Object parameter)
Deprecated.
|
public ContextFactory(WebBeansContext webBeansContext)
public void initRequestContext(Object request)
public javax.enterprise.context.spi.Context getCustomContext(javax.enterprise.context.spi.Context context)
public void destroyRequestContext(Object request)
public void initSessionContext(Object session)
public void destroySessionContext(Object session)
public void initApplicationContext(Object parameter)
public void destroyApplicationContext(Object parameter)
parameter
- parameter objectpublic void initSingletonContext(Object parameter)
public void destroySingletonContext(Object parameter)
public void initConversationContext(Object context)
public void destroyConversationContext()
public javax.enterprise.context.spi.Context getStandardContext(Class<? extends Annotation> scopeType)
null
if no standard context exists for the given scopeTypeCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.