|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.component.ControllerDescription
Fractal implementation-specific description of the controllers of components.
It is currently used to specify the hierarchical type and the name of the
components.
It is also a place to specify custom controllers for a given component ; the
configuration of the controllers is described in a properties file whose
location can be given as a parameter.
The controllers configuration file is simple : it associates the signature of
a controller interface with the implementation that has to be used.
During the construction of the component, the membrane is automatically
constructed with these controllers. The controllers are linked together, and
requests targetting a control interface visit the different controllers until
they find the suitable controller, and then the request is executed on this
controller.
Field Summary | |
static java.lang.String |
DEFAULT_COMPONENT_CONFIG_FILE_LOCATION
|
Constructor Summary | |
ControllerDescription()
a no-arg constructor (used in the ProActive parser) |
|
ControllerDescription(ControllerDescription controllerDesc)
copy constructor (clones the object) |
|
ControllerDescription(java.lang.String name,
java.lang.String hierarchicalType)
constructor |
|
ControllerDescription(java.lang.String name,
java.lang.String hierarchicalType,
boolean synchronous)
Constructor for ControllerDescription. |
|
ControllerDescription(java.lang.String name,
java.lang.String hierarchicalType,
java.lang.String controllersConfigFileLocation)
Constructor for ControllerDescription. |
|
ControllerDescription(java.lang.String name,
java.lang.String hierarchicalType,
java.lang.String controllersConfigFileLocation,
boolean synchronous)
Constructor for ControllerDescription. |
|
ControllerDescription(java.lang.String name,
java.lang.String hierarchicalType,
java.lang.String controllersConfigFileLocation,
java.lang.String interceptorsConfigFileLocation)
Constructor for ControllerDescription. |
Method Summary | |
java.lang.String |
getControllersConfigFileLocation()
Method getControllersConfigFileLocation. |
java.lang.String |
getHierarchicalType()
Returns the hierarchicalType. |
java.lang.String |
getName()
getter for the name |
boolean |
isSynchronous()
Method isSynchronous. |
void |
setHierarchicalType(java.lang.String string)
setter for hierarchical type |
void |
setName(java.lang.String name)
setter for the name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_COMPONENT_CONFIG_FILE_LOCATION
Constructor Detail |
public ControllerDescription()
public ControllerDescription(java.lang.String name, java.lang.String hierarchicalType)
name
- the name of the componenthierarchicalType
- the hierachical type of the component. See Constants
public ControllerDescription(java.lang.String name, java.lang.String hierarchicalType, boolean synchronous)
name
- StringhierarchicalType
- Stringsynchronous
- booleanpublic ControllerDescription(java.lang.String name, java.lang.String hierarchicalType, java.lang.String controllersConfigFileLocation)
name
- StringhierarchicalType
- StringcontrollersConfigFileLocation
- Stringpublic ControllerDescription(java.lang.String name, java.lang.String hierarchicalType, java.lang.String controllersConfigFileLocation, java.lang.String interceptorsConfigFileLocation)
name
- StringhierarchicalType
- StringcontrollersConfigFileLocation
- StringinterceptorsConfigFileLocation
- Stringpublic ControllerDescription(java.lang.String name, java.lang.String hierarchicalType, java.lang.String controllersConfigFileLocation, boolean synchronous)
name
- StringhierarchicalType
- StringcontrollersConfigFileLocation
- Stringsynchronous
- booleanpublic ControllerDescription(ControllerDescription controllerDesc)
controllerDesc
- the ControllerDescription to copy.Method Detail |
public java.lang.String getHierarchicalType()
public void setHierarchicalType(java.lang.String string)
string
- hierarchical type. See Constants
public java.lang.String getName()
public void setName(java.lang.String name)
name
- name of the componentpublic boolean isSynchronous()
public java.lang.String getControllersConfigFileLocation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |