|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionContext
Nested Class Summary | |
---|---|
static class |
ExecutionContext.Holder
|
Method Summary | |
---|---|
Future<Object> |
addFullObject(String name,
Future<Object> object)
Try to add a full object and return the already registered future if available |
void |
addPartialObject(String name,
Object object)
|
boolean |
canConvert(Object value,
org.osgi.service.blueprint.container.ReifiedType type)
|
boolean |
containsObject(String name)
Does this context contain a object with the specified name. |
Object |
convert(Object value,
org.osgi.service.blueprint.container.ReifiedType type)
|
Object |
getObject(String name)
Gets the object or recipe with the specified name from the repository. |
Object |
getPartialObject(String name)
|
Recipe |
getRecipe(String name)
|
Class |
loadClass(String className)
|
Recipe |
pop()
Removes the top recipe from the execution stack. |
void |
push(Recipe recipe)
Adds a recipe to the top of the execution stack. |
void |
removePartialObject(String name)
|
Method Detail |
---|
void push(Recipe recipe) throws CircularDependencyException
recipe
- the recipe to add to the stack
CircularDependencyException
- if the recipe is already on the stackRecipe pop()
boolean containsObject(String name)
name
- the unique name of the object instance
Object getObject(String name)
name
- the unique name of the object instance
Future<Object> addFullObject(String name, Future<Object> object)
name
- object
-
void addPartialObject(String name, Object object)
Object getPartialObject(String name)
void removePartialObject(String name)
Object convert(Object value, org.osgi.service.blueprint.container.ReifiedType type) throws Exception
Exception
boolean canConvert(Object value, org.osgi.service.blueprint.container.ReifiedType type)
Class loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
Recipe getRecipe(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |