|
![]() |
|||||||||
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 | |
---|---|
Object |
observe(Class stackFrame)
Call the observing function. |
Object |
run()
Derive from this class and implement this function with the functionality to observe for a dependency cycle. |
Method Detail |
---|
Object run()
null
Object observe(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 |