org.apache.aries.blueprint.di
Class CollectionRecipe
java.lang.Object
org.apache.aries.blueprint.di.AbstractRecipe
org.apache.aries.blueprint.di.CollectionRecipe
- All Implemented Interfaces:
- Recipe
public class CollectionRecipe
- extends AbstractRecipe
- Version:
- $Rev: 1240203 $ $Date: 2012-02-03 14:56:58 +0000 (Fri, 03 Feb 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 |
CollectionRecipe
public CollectionRecipe(String name,
Class<?> collectionType,
String 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
add
public void add(Recipe value)
getCollection
public static Class getCollection(Class type)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.