|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.analysis.javadoc.CollectorContextManager
public final class CollectorContextManager
The singleton provides the collector context used to provide information to the collector doclet.
This singleton is thread safe. It is expected that there is only one context per time for any thread.
Method Summary | |
---|---|
static CollectorContext |
getCollectorContext() Returns the thread-locally stored collector context. |
static void |
setCollectorContext(CollectorContext context) Sets the thread-locally stored collector context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CollectorContext getCollectorContext()
public static void setCollectorContext(CollectorContext context)
null
.
It is expected to remove the context as soon as it is no longer needed, by setting it to null
.
context
- the thread-locally stored collector context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |