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: 1361780 $ $Date: 2012-07-15 21:11:25 +0100 (Sun, 15 Jul 2012) $
Methods inherited from class org.apache.aries.blueprint.di.AbstractRecipe |
addPartialObject, canConvert, convert, convert, create, destroy, getConstructorDependencies, getName, isPrototype, loadClass, loadType, loadType, setPrototype, toString |
MapRecipe
public MapRecipe(String name,
Class<?> type,
Object keyType,
Object valueType)
getDependencies
public 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 Object internalCreate()
throws org.osgi.service.blueprint.container.ComponentDefinitionException
- Specified by:
internalCreate
in class AbstractRecipe
- Throws:
org.osgi.service.blueprint.container.ComponentDefinitionException
workOutConversionType
protected org.osgi.service.blueprint.container.ReifiedType workOutConversionType(Recipe entry,
org.osgi.service.blueprint.container.ReifiedType defaultType)
put
public void put(Recipe key,
Recipe value)
putAll
public void putAll(Map<Recipe,Recipe> map)
getMap
public static Class<?> getMap(Class<?> type)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.