Package org.apache.xbean.recipe
Class StaticRecipe
- java.lang.Object
-
- org.apache.xbean.recipe.StaticRecipe
-
- All Implemented Interfaces:
java.io.Serializable
,Recipe
public final class StaticRecipe extends java.lang.Object implements Recipe
Deprecated.The functionality of StaticRecipe is built into ObjectRecipe as of xbean-reflect 3.4- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
object
Deprecated.
-
Constructor Summary
Constructors Constructor Description StaticRecipe(java.lang.Object object)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canCreate(java.lang.reflect.Type type)
Deprecated.java.lang.Object
create()
Deprecated.java.lang.Object
create(java.lang.ClassLoader classLoader)
Deprecated.java.lang.Object
create(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)
Deprecated.java.util.List<Recipe>
getConstructorRecipes()
Deprecated.java.lang.String
getName()
Deprecated.java.util.List<Recipe>
getNestedRecipes()
Deprecated.float
getPriority()
Deprecated.
-
-
-
Method Detail
-
canCreate
public boolean canCreate(java.lang.reflect.Type type)
Deprecated.
-
create
public java.lang.Object create() throws ConstructionException
Deprecated.- Specified by:
create
in interfaceRecipe
- Throws:
ConstructionException
-
create
public java.lang.Object create(java.lang.ClassLoader classLoader) throws ConstructionException
Deprecated.- Specified by:
create
in interfaceRecipe
- Throws:
ConstructionException
-
create
public java.lang.Object create(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
Deprecated.- Specified by:
create
in interfaceRecipe
- Throws:
ConstructionException
-
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
Deprecated.- Specified by:
getNestedRecipes
in interfaceRecipe
-
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
Deprecated.- Specified by:
getConstructorRecipes
in interfaceRecipe
-
getPriority
public float getPriority()
Deprecated.- Specified by:
getPriority
in interfaceRecipe
-
-