Package org.apache.xbean.recipe
Class ReferenceRecipe
- java.lang.Object
-
- org.apache.xbean.recipe.AbstractRecipe
-
- org.apache.xbean.recipe.ReferenceRecipe
-
- All Implemented Interfaces:
java.io.Serializable
,Recipe
public class ReferenceRecipe extends AbstractRecipe
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ReferenceRecipe.WrapperReference
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
referenceName
-
Constructor Summary
Constructors Constructor Description ReferenceRecipe()
ReferenceRecipe(java.lang.String referenceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCreate(java.lang.reflect.Type type)
java.util.List<Recipe>
getConstructorRecipes()
java.util.List<Recipe>
getNestedRecipes()
java.lang.String
getReferenceName()
protected java.lang.Object
internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)
void
setReferenceName(java.lang.String name)
-
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
-
-
-
-
Method Detail
-
getReferenceName
public java.lang.String getReferenceName()
-
setReferenceName
public void setReferenceName(java.lang.String name)
-
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipes
in interfaceRecipe
- Overrides:
getNestedRecipes
in classAbstractRecipe
-
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipes
in interfaceRecipe
- Overrides:
getConstructorRecipes
in classAbstractRecipe
-
canCreate
public boolean canCreate(java.lang.reflect.Type type)
-
internalCreate
protected java.lang.Object internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
- Specified by:
internalCreate
in classAbstractRecipe
- Throws:
ConstructionException
-
-