org.apache.aries.blueprint.di
Class MapRecipe
java.lang.Object
org.apache.aries.blueprint.di.AbstractRecipe
org.apache.aries.blueprint.di.MapRecipe
- All Implemented Interfaces:
- Recipe
public class MapRecipe
- extends AbstractRecipe
- Version:
- $Rev: 896324 $ $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $
Constructor Summary |
MapRecipe(java.lang.String name,
java.lang.Class type)
|
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 |
MapRecipe
public MapRecipe(java.lang.String name,
java.lang.Class type)
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
put
public void put(Recipe key,
Recipe value)
putAll
public void putAll(java.util.Map<Recipe,Recipe> map)
getMap
public static java.lang.Class getMap(java.lang.Class type)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.