org.apache.aries.blueprint.di
Class MapRecipe

java.lang.Object
  extended by org.apache.aries.blueprint.di.AbstractRecipe
      extended by 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) $

Nested Class Summary
static class MapRecipe.DummyDictionaryAsMap
           
 
Field Summary
 
Fields inherited from class org.apache.aries.blueprint.di.AbstractRecipe
name, prototype
 
Constructor Summary
MapRecipe(java.lang.String name, java.lang.Class type)
           
 
Method Summary
 java.util.List<Recipe> getDependencies()
          Get the list of nested recipes, i.e.
static java.lang.Class getMap(java.lang.Class type)
           
protected  java.lang.Object internalCreate()
           
 void put(Recipe key, Recipe value)
           
 void putAll(java.util.Map<Recipe,Recipe> map)
           
 
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

MapRecipe

public MapRecipe(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

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.