|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public Object run()
nullpublic 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 | ||||||||||