|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.ioc.Context
public final class Context
The parsing context
Constructor Summary | |
---|---|
Context(Resource resource,
ApplicationContext appContext,
Parser parser)
|
Method Summary | |
---|---|
protected void |
clear()
|
ApplicationContext |
getAppContext()
Gets the ApplicationContext tied to this context. |
static Context |
getCurrent()
Gets the current thread local context. |
Parser |
getParser()
Gets the Parser tied to this context. |
Resource |
getResource()
Gets the Resource tied to this context. |
static void |
setCurrent(Context context)
Sets the thread local context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Context(Resource resource, ApplicationContext appContext, Parser parser)
Method Detail |
---|
public static Context getCurrent()
public static void setCurrent(Context context)
public Resource getResource()
Resource
tied to this context.
public ApplicationContext getAppContext()
ApplicationContext
tied to this context.
public Parser getParser()
Parser
tied to this context.
protected void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |