org.apache.xbean.recipe
Class ReferenceNameRecipe

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

public class ReferenceNameRecipe
extends AbstractRecipe

See Also:
Serialized Form

Constructor Summary
ReferenceNameRecipe(String referenceName)
           
 
Method Summary
 boolean canCreate(Type type)
           
 List<Recipe> getConstructorRecipes()
           
 List<Recipe> getNestedRecipes()
           
 String getReferenceName()
           
protected  Object internalCreate(Type expectedType, boolean lazyRefAllowed)
           
 
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

ReferenceNameRecipe

public ReferenceNameRecipe(String referenceName)
Method Detail

getReferenceName

public String getReferenceName()

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.