public class SuiteContextImpl extends AbstractContext<java.lang.String> implements SuiteContext
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
SUITE_CONTEXT_ID |
Constructor and Description |
---|
SuiteContextImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate()
There can only one Suite active, so we hard code the id to "Suite".
|
protected ObjectStore |
createNewObjectStore() |
void |
destroy() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope() |
activate, clearAll, deactivate, deactivateAll, destroy, getActiveId, getObjectStore, isActive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deactivate
clearAll, getObjectStore, isActive
private static final java.lang.String SUITE_CONTEXT_ID
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
public void activate()
activate
in interface NonIdBoundContext
public void destroy()
destroy
in interface NonIdBoundContext
protected ObjectStore createNewObjectStore()
createNewObjectStore
in class AbstractContext<java.lang.String>