org.apache.xbean.recipe
Class ReferenceRecipe

java.lang.Object
  extended by org.apache.xbean.recipe.AbstractRecipe
      extended by org.apache.xbean.recipe.ReferenceRecipe
All Implemented Interfaces:
Serializable, Recipe

public class ReferenceRecipe
extends AbstractRecipe

See Also:
Serialized Form

Constructor Summary
ReferenceRecipe()
           
ReferenceRecipe(String referenceName)
           
 
Method Summary
 boolean canCreate(Type type)
           
 List<Recipe> getConstructorRecipes()
           
 List<Recipe> getNestedRecipes()
           
 String getReferenceName()
           
protected  Object internalCreate(Type expectedType, boolean lazyRefAllowed)
           
 void setReferenceName(String name)
           
 
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReferenceRecipe

public ReferenceRecipe()

ReferenceRecipe

public ReferenceRecipe(String referenceName)
Method Detail

getReferenceName

public String getReferenceName()

setReferenceName

public void setReferenceName(String name)

getNestedRecipes

public List<Recipe> getNestedRecipes()
Specified by:
getNestedRecipes in interface Recipe
Overrides:
getNestedRecipes in class AbstractRecipe

getConstructorRecipes

public List<Recipe> getConstructorRecipes()
Specified by:
getConstructorRecipes in interface Recipe
Overrides:
getConstructorRecipes in class AbstractRecipe

canCreate

public boolean canCreate(Type type)

internalCreate

protected Object internalCreate(Type expectedType,
                                boolean lazyRefAllowed)
                         throws ConstructionException
Specified by:
internalCreate in class AbstractRecipe
Throws:
ConstructionException


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.