T
- public class ComponentFactoryRecipe<T extends ComponentFactoryMetadata> extends AbstractRecipe
name, prototype
Constructor and Description |
---|
ComponentFactoryRecipe(String name,
T metadata,
ExtendedBlueprintContainer container,
List<Recipe> dependencies) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(Object instance)
Destroy an instance created by this recipe
|
List<Recipe> |
getDependencies()
Get the list of nested recipes, i.e.
|
protected T |
getMetadata() |
protected Object |
internalCreate() |
addPartialObject, convert, convert, create, getConstructorDependencies, getName, isPrototype, loadClass, loadType, loadType, setPrototype, toString
public ComponentFactoryRecipe(String name, T metadata, ExtendedBlueprintContainer container, List<Recipe> dependencies)
protected Object internalCreate() throws ComponentDefinitionException
internalCreate
in class AbstractRecipe
ComponentDefinitionException
public List<Recipe> getDependencies()
Recipe
public void destroy(Object instance)
Recipe
destroy
in interface Recipe
destroy
in class AbstractRecipe
instance
- the instance to be destroyedprotected T getMetadata()
Copyright © 2016. All rights reserved.