org.apache.xbean.recipe
Interface Recipe

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractRecipe, AllPropertiesRecipe, ArrayRecipe, CollectionRecipe, MapRecipe, ObjectRecipe, ReferenceNameRecipe, ReferenceRecipe, StaticRecipe, UnsetPropertiesRecipe

public interface Recipe
extends Serializable

Version:
$Rev: 6680 $ $Date: 2005-12-24T04:38:27.427468Z $

Method Summary
 boolean canCreate(Type type)
           
 Object create()
           
 Object create(ClassLoader classLoader)
           
 Object create(Type expectedType, boolean lazyRefAllowed)
           
 List<Recipe> getConstructorRecipes()
           
 String getName()
           
 List<Recipe> getNestedRecipes()
           
 float getPriority()
           
 

Method Detail

getName

String getName()

getPriority

float getPriority()

canCreate

boolean canCreate(Type type)

create

Object create()
              throws ConstructionException
Throws:
ConstructionException

create

Object create(ClassLoader classLoader)
              throws ConstructionException
Throws:
ConstructionException

create

Object create(Type expectedType,
              boolean lazyRefAllowed)
              throws ConstructionException
Throws:
ConstructionException

getNestedRecipes

List<Recipe> getNestedRecipes()

getConstructorRecipes

List<Recipe> getConstructorRecipes()


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