Package org.apache.xbean.recipe
Class AbstractRecipe
- java.lang.Object
-
- org.apache.xbean.recipe.AbstractRecipe
-
- All Implemented Interfaces:
java.io.Serializable,Recipe
- Direct Known Subclasses:
AllPropertiesRecipe,ArrayRecipe,CollectionRecipe,MapRecipe,ObjectRecipe,ReferenceNameRecipe,ReferenceRecipe,UnsetPropertiesRecipe
public abstract class AbstractRecipe extends java.lang.Object implements Recipe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRecipe()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Objectcreate()java.lang.Objectcreate(java.lang.ClassLoader classLoader)java.lang.Objectcreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)java.util.List<Recipe>getConstructorRecipes()java.lang.StringgetName()java.util.List<Recipe>getNestedRecipes()floatgetPriority()protected abstract java.lang.ObjectinternalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)voidsetName(java.lang.String name)java.lang.StringtoString()
-
-
-
Constructor Detail
-
AbstractRecipe
protected AbstractRecipe()
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
getPriority
public float getPriority()
- Specified by:
getPriorityin interfaceRecipe
-
create
public java.lang.Object create() throws ConstructionException
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
create
public final java.lang.Object create(java.lang.ClassLoader classLoader) throws ConstructionException
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
create
public final java.lang.Object create(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
internalCreate
protected abstract java.lang.Object internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
- Throws:
ConstructionException
-
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipesin interfaceRecipe
-
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipesin interfaceRecipe
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-