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:
java.io.Serializable, Recipe

public class ReferenceNameRecipe
extends AbstractRecipe

See Also:
Serialized Form

Constructor Summary
ReferenceNameRecipe(java.lang.String referenceName)
           
 
Method Summary
 boolean canCreate(java.lang.reflect.Type type)
           
 java.util.List<Recipe> getConstructorRecipes()
           
 java.util.List<Recipe> getNestedRecipes()
           
 java.lang.String getReferenceName()
           
protected  java.lang.Object internalCreate(java.lang.reflect.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(java.lang.String referenceName)
Method Detail

getReferenceName

public java.lang.String getReferenceName()

getNestedRecipes

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

getConstructorRecipes

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

canCreate

public boolean canCreate(java.lang.reflect.Type type)

internalCreate

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


Copyright © 2005-2011. All Rights Reserved.