Package 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
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()final Objectcreate(ClassLoader classLoader) final ObjectgetName()floatprotected abstract ObjectinternalCreate(Type expectedType, boolean lazyRefAllowed) voidtoString()
-
Field Details
-
ID
-
id
private long id -
name
-
-
Constructor Details
-
AbstractRecipe
protected AbstractRecipe()
-
-
Method Details
-
getName
-
setName
-
getPriority
public float getPriority()- Specified by:
getPriorityin interfaceRecipe
-
create
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
create
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
create
- Specified by:
createin interfaceRecipe- Throws:
ConstructionException
-
internalCreate
protected abstract Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException - Throws:
ConstructionException
-
getNestedRecipes
- Specified by:
getNestedRecipesin interfaceRecipe
-
getConstructorRecipes
- Specified by:
getConstructorRecipesin interfaceRecipe
-
toString
-