org.apache.xbean.recipe
Class AbstractRecipe
java.lang.Object
org.apache.xbean.recipe.AbstractRecipe
- All Implemented Interfaces:
- Serializable, Recipe
- Direct Known Subclasses:
- AllPropertiesRecipe, ArrayRecipe, CollectionRecipe, MapRecipe, ObjectRecipe, ReferenceNameRecipe, ReferenceRecipe, UnsetPropertiesRecipe
public abstract class AbstractRecipe
- extends Object
- implements Recipe
- See Also:
- Serialized Form
AbstractRecipe
protected AbstractRecipe()
getName
public String getName()
- Specified by:
getName
in interface Recipe
setName
public void setName(String name)
getPriority
public float getPriority()
- Specified by:
getPriority
in interface Recipe
create
public Object create()
throws ConstructionException
- Specified by:
create
in interface Recipe
- Throws:
ConstructionException
create
public final Object create(ClassLoader classLoader)
throws ConstructionException
- Specified by:
create
in interface Recipe
- Throws:
ConstructionException
create
public final Object create(Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
- Specified by:
create
in interface Recipe
- Throws:
ConstructionException
internalCreate
protected abstract Object internalCreate(Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
- Throws:
ConstructionException
getNestedRecipes
public List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipes
in interface Recipe
getConstructorRecipes
public List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipes
in interface Recipe
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.