org.apache.aries.blueprint.di
Class CollectionRecipe

java.lang.Object
  extended by org.apache.aries.blueprint.di.AbstractRecipe
      extended by org.apache.aries.blueprint.di.CollectionRecipe
All Implemented Interfaces:
Recipe

public class CollectionRecipe
extends AbstractRecipe

Version:
$Rev: 896324 $ $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Field Summary
 
Fields inherited from class org.apache.aries.blueprint.di.AbstractRecipe
name, prototype
 
Constructor Summary
CollectionRecipe(java.lang.String name, java.lang.Class type)
           
 
Method Summary
 void add(Recipe value)
           
static java.lang.Class getCollection(java.lang.Class type)
           
 java.util.List<Recipe> getDependencies()
          Get the list of nested recipes, i.e.
protected  java.lang.Object internalCreate()
           
 
Methods inherited from class org.apache.aries.blueprint.di.AbstractRecipe
addPartialObject, convert, convert, create, destroy, getConstructorDependencies, getName, isPrototype, loadClass, loadType, loadType, setPrototype, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionRecipe

public CollectionRecipe(java.lang.String name,
                        java.lang.Class type)
Method Detail

getDependencies

public java.util.List<Recipe> getDependencies()
Description copied from interface: Recipe
Get the list of nested recipes, i.e. all dependencies including constructor dependencies.

Returns:
a list of dependencies

internalCreate

protected java.lang.Object internalCreate()
                                   throws ComponentDefinitionException
Specified by:
internalCreate in class AbstractRecipe
Throws:
ComponentDefinitionException

add

public void add(Recipe value)

getCollection

public static java.lang.Class getCollection(java.lang.Class type)


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