|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.basher.impl.ContextManagerImpl
public class ContextManagerImpl
| Field Summary |
|---|
| Fields inherited from interface net.sourceforge.basher.ContextManager |
|---|
DEFAULT_BASHER_CONTEXT_NAME |
| Constructor Summary | |
|---|---|
ContextManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addBasherContext(BasherContext basherContext)
Adds the specified context to the system. |
void |
basherEvent(BasherEvent basherEvent)
|
BasherContext |
getActiveBasherContext()
Retrieves the currently active context. |
BasherContext |
getBasherContext(String contextName)
Retrieves the by name specified context. |
List<BasherContext> |
getBasherContexts()
Retrieves the list of all registered contexts. |
void |
setActiveBasherContext(BasherContext basherContext)
Sets the specified context to be the active, used context. |
void |
setBasherContexts(List<BasherContext> basherContexts)
Sets the list of available SystemContexts. |
void |
setLog(org.apache.commons.logging.Log log)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextManagerImpl()
| Method Detail |
|---|
public BasherContext getActiveBasherContext()
getActiveBasherContext in interface ContextManagerpublic void setActiveBasherContext(BasherContext basherContext)
setActiveBasherContext in interface ContextManagerbasherContext - The context to activate.public BasherContext getBasherContext(String contextName)
ContextManager
getBasherContext in interface ContextManagercontextName - The name of the context to retrieve.
public List<BasherContext> getBasherContexts()
getBasherContexts in interface ContextManagerpublic void addBasherContext(BasherContext basherContext)
addBasherContext in interface ContextManagerbasherContext - The context to add.public void setBasherContexts(List<BasherContext> basherContexts)
SystemContexts. The specified list will be added
the list of already present contexts if any.
basherContexts - The list of avialable system contexts.public void setLog(org.apache.commons.logging.Log log)
public void basherEvent(BasherEvent basherEvent)
basherEvent in interface BasherEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||