|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
| Method Summary | ||
|---|---|---|
Object |
create(String name)
|
|
Object |
create(String name,
Collection<Class<?>> proxyInterfaces)
|
|
void |
createAll(Collection<String> names)
|
|
Map<String,Object> |
createAll(Collection<String> names,
Collection<Class<?>> proxyInterfaces)
|
|
void |
destroy()
|
|
|
getAllRecipes(Class<T> clazz,
String... names)
|
|
Set<Recipe> |
getAllRecipes(String... names)
|
|
Object |
getInstance(String name)
Return the singleton instance for the given name. |
|
Set<String> |
getNames()
Returns the set of all known object names (recipes, instances or default objects) |
|
Recipe |
getRecipe(String name)
Return the recipe for the given name. |
|
void |
putRecipe(String name,
Recipe recipe)
|
|
void |
removeRecipe(String name)
Remove an uninstantiated recipe |
|
| Method Detail |
|---|
Set<String> getNames()
Object getInstance(String name)
name -
nullRecipe getRecipe(String name)
name -
null
void putRecipe(String name,
Recipe recipe)
void removeRecipe(String name)
name -
org.osgi.service.blueprint.container.ComponentDefinitionException - if the recipe is already instantiated
Object create(String name)
throws org.osgi.service.blueprint.container.ComponentDefinitionException
org.osgi.service.blueprint.container.ComponentDefinitionException
Object create(String name,
Collection<Class<?>> proxyInterfaces)
throws org.osgi.service.blueprint.container.ComponentDefinitionException
org.osgi.service.blueprint.container.ComponentDefinitionException
void createAll(Collection<String> names)
throws org.osgi.service.blueprint.container.ComponentDefinitionException
org.osgi.service.blueprint.container.ComponentDefinitionException
Map<String,Object> createAll(Collection<String> names,
Collection<Class<?>> proxyInterfaces)
throws org.osgi.service.blueprint.container.ComponentDefinitionException
org.osgi.service.blueprint.container.ComponentDefinitionException
<T> List<T> getAllRecipes(Class<T> clazz,
String... names)
Set<Recipe> getAllRecipes(String... names)
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||