|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyclicDependencyGuard
Interface for a guard implementation looking after cyclic dependencies.
Method Summary | |
---|---|
java.lang.Object |
observe(java.lang.Class stackFrame)
Call the observing function. |
java.lang.Object |
run()
Derive from this class and implement this function with the functionality to observe for a dependency cycle. |
Method Detail |
---|
java.lang.Object run()
null
java.lang.Object observe(java.lang.Class stackFrame)
Boolean
value.
If the guard is already Boolean.TRUE
a CyclicDependencyException
will be thrown.
stackFrame
- the current stack frame
run
method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |