Package org.apache.xbean.recipe
Class ReferenceNameRecipe
- java.lang.Object
-
- org.apache.xbean.recipe.AbstractRecipe
-
- org.apache.xbean.recipe.ReferenceNameRecipe
-
- All Implemented Interfaces:
java.io.Serializable
,Recipe
public class ReferenceNameRecipe extends AbstractRecipe
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
referenceName
-
Constructor Summary
Constructors Constructor Description ReferenceNameRecipe(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()
private java.lang.Object
getReference()
java.lang.String
getReferenceName()
protected java.lang.Object
internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)
-
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
-
-
-
-
Method Detail
-
getReferenceName
public java.lang.String getReferenceName()
-
getReference
private java.lang.Object getReference()
-
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
-
-