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 ContextContainer
public void addContext(Context context)
addContext
in interface ContextContainer
public Context getContext(String contextType, long id)
getContext
in interface ContextContainer
public void setDefaultContext(Context context)
setDefaultContext
in interface ContextContainer
public Context getDefaultContext(String contextType)
getDefaultContext
in interface ContextContainer
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.