|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface CycleHandlingStrategy<T>
Interface for strategies to decide how cycles in the blueprinting graph are supposed to be handled.
| Method Summary | |
|---|---|
T |
handleCycle(BlueprintSession session,
Class<?> clazz)
Handle the situation that a BlueprintCycle was detected for a particular class. |
boolean |
isActiveForType(Class<?> clazz)
Decide whether this strategy is active for a given type. |
| Method Detail |
|---|
@Nullable
T handleCycle(@Nonnull
BlueprintSession session,
@Nonnull
Class<?> clazz)
isActiveForType is true for a specific class.
T - session - The current BlueprintSessionclazz - The class which caused cycle in the blueprinting graph
TBlueprint
boolean isActiveForType(@Nonnull
Class<?> clazz)
T - clazz - The class which caused cycle in the blueprinting graph
TBlueprint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||