Package org.apache.xbean.recipe
Class ReferenceRecipe.WrapperReference
java.lang.Object
org.apache.xbean.recipe.Reference
org.apache.xbean.recipe.ReferenceRecipe.WrapperReference
- Enclosing class:
ReferenceRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xbean.recipe.Reference
Reference.Action -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets the referenced object instance or null if the reference has not been resolved yet;booleanHas this reference been resolved?voidSets the referenced object instance.voidsetAction(Reference.Action action) Registers an action to invoke when the instance is set.
-
Field Details
-
delegate
-
-
Constructor Details
-
WrapperReference
-
-
Method Details
-
isResolved
public boolean isResolved()Description copied from class:ReferenceHas this reference been resolved?- Overrides:
isResolvedin classReference- Returns:
- true if the reference has been resolved; false otherwise
-
get
Description copied from class:ReferenceGets the referenced object instance or null if the reference has not been resolved yet; -
set
Description copied from class:ReferenceSets the referenced object instance. If an action is registered the onSet method is invoked. -
setAction
Description copied from class:ReferenceRegisters an action to invoke when the instance is set. If the instance, has already been set, the onSet method will immedately be invoked.
-