|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.julia.InitializationContext
public class InitializationContext
A context used to initialize Controller
objects.
initFcController
Field Summary | |
---|---|
Object |
content
The content of the component to which the controller object belongs. |
List |
controllers
The controllers objects of the component to which the controller object belongs. |
Object |
hints
Miscellaneous additional context information. |
Map |
interfaces
The external interfaces of the component to which the controller object belongs. |
Map |
internalInterfaces
The external interfaces of the component to which the controller object belongs. |
Type |
type
The type of the component to which the controller object belongs. |
Constructor Summary | |
---|---|
InitializationContext()
Constructs an uninitialized InitializationContext object. |
Method Summary | |
---|---|
void |
create()
Initializes and fills in the fields of this object. |
Object |
getInterface(String name)
Returns the component interface of the interfaces map
whose name is given. |
Object |
getOptionalInterface(String name)
Returns the component interface of the interfaces map
whose name is given. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Type type
public List controllers
public Map interfaces
public Map internalInterfaces
public Object content
public Object hints
Constructor Detail |
---|
public InitializationContext()
InitializationContext
object.
Method Detail |
---|
public void create() throws InstantiationException
InstantiationException
- if the component type, a controller object
or a component interface cannot be created.public Object getInterface(String name) throws InstantiationException
interfaces
map
whose name is given.
name
- the name of a component interface.
InstantiationException
- if there is no such component interface.public Object getOptionalInterface(String name)
interfaces
map
whose name is given.
name
- the name of a component interface.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |