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;boolean
Has this reference been resolved?void
Sets the referenced object instance.void
setAction
(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:Reference
Has this reference been resolved?- Overrides:
isResolved
in classReference
- Returns:
- true if the reference has been resolved; false otherwise
-
get
Description copied from class:Reference
Gets the referenced object instance or null if the reference has not been resolved yet; -
set
Description copied from class:Reference
Sets the referenced object instance. If an action is registered the onSet method is invoked. -
setAction
Description copied from class:Reference
Registers an action to invoke when the instance is set. If the instance, has already been set, the onSet method will immedately be invoked.
-