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
-
-
Constructor Summary
Constructors Constructor Description ReferenceNameRecipe(java.lang.String referenceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCreate(java.lang.reflect.Type type)java.util.List<Recipe>getConstructorRecipes()java.util.List<Recipe>getNestedRecipes()java.lang.StringgetReferenceName()protected java.lang.ObjectinternalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)-
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
-
-
-
-
Constructor Detail
-
ReferenceNameRecipe
public ReferenceNameRecipe(java.lang.String referenceName)
-
-
Method Detail
-
getReferenceName
public java.lang.String getReferenceName()
-
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipesin interfaceRecipe- Overrides:
getNestedRecipesin classAbstractRecipe
-
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipesin interfaceRecipe- Overrides:
getConstructorRecipesin 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:
internalCreatein classAbstractRecipe- Throws:
ConstructionException
-
-