public class ContextContainerImpl extends Object implements Serializable, ContextContainer
| Constructor and Description |
|---|
ContextContainerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(Context context) |
Context |
getContext(String contextType,
long id) |
List<Context> |
getContexts(String contextType) |
Context |
getDefaultContext(String contextType) |
void |
setDefaultContext(Context context) |
public List<Context> getContexts(String contextType)
getContexts in interface ContextContainerpublic void addContext(Context context)
addContext in interface ContextContainerpublic Context getContext(String contextType, long id)
getContext in interface ContextContainerpublic void setDefaultContext(Context context)
setDefaultContext in interface ContextContainerpublic Context getDefaultContext(String contextType)
getDefaultContext in interface ContextContainerCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.