public interface ContextControl
| Modifier and Type | Method and Description |
|---|---|
void |
startContext(Class<? extends Annotation> scopeClass)
Start the specified scope.
|
void |
startContexts()
This will start all container built-in Contexts
|
void |
stopContext(Class<? extends Annotation> scopeClass)
Stop the specified scope.
|
void |
stopContexts()
Stop all container built-in Contexts and destroy all beans properly
|
void startContexts()
void stopContexts()
void startContext(Class<? extends Annotation> scopeClass)
scopeClass - e.g. RequestScoped.classvoid stopContext(Class<? extends Annotation> scopeClass)
scopeClass - e.g. RequestScoped.classCopyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.