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

public class ReferenceRecipe
extends AbstractRecipe

See Also:
Serialized Form

Constructor Summary
ReferenceRecipe()
           
ReferenceRecipe(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)
           
 void setReferenceName(java.lang.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(java.lang.String referenceName)
Method Detail

getReferenceName

public java.lang.String getReferenceName()

setReferenceName

public void setReferenceName(java.lang.String name)

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.