|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Recipe
The Recipe
interface abstracts the creation of objects
Method Summary | |
---|---|
java.lang.Object |
create()
Create an instance for this recipe. |
void |
destroy(java.lang.Object instance)
Destroy an instance created by this recipe |
java.util.List<Recipe> |
getConstructorDependencies()
Get the list of constructor dependencies, i.e. |
java.util.List<Recipe> |
getDependencies()
Get the list of nested recipes, i.e. |
java.lang.String |
getName()
Get the unique name for this recipe. |
Method Detail |
---|
java.lang.String getName()
java.util.List<Recipe> getConstructorDependencies()
java.util.List<Recipe> getDependencies()
java.lang.Object create() throws ComponentDefinitionException
ComponentDefinitionException
void destroy(java.lang.Object instance)
instance
- the instance to be destroyed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |