|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.PortableServer.Servant | +--EventEvaluator.Resource.ResourceManagerPOA | +--EventEvaluator.Resource.ResourceManagerImpl
Implements the servant for the EventEvaluator/Resource/ResourceManager interface. This class implements the methods described at the EventEvaluator/Resource/ResourceManager interface. It is responsible for receiving the notification of changes in the parameters beeing monitored in the execution environment (performed by RMO objects) and evaluating the occurence of adaptation events based on that changes.
Constructor Summary | |
ResourceManagerImpl(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA the_poa,
EventEvaluator.Resource.ResourceEventRepository re_r)
Initialize the ResourceManager. |
Method Summary | |
void |
change_parameter(java.lang.String meid,
java.lang.String pid,
int new_range)
Changes the current value of the parameter pid beeing
monitored on entity meid . |
void |
register(EventEvaluator.Resource.ResourceEvent re)
Starts evaluating the resource event re . |
void |
resume(java.lang.String eid)
Resume the evaluation of the event identified by eid . |
void |
rmo_register(java.lang.String strRmo,
java.lang.String meid,
java.lang.String pid)
Starts holding the current value of the parameter pid beeing
monitored on entity meid . |
void |
rmo_resume(java.lang.String meid,
java.lang.String pid)
Resume holding the current value of the parameter pid beeing
monitored on entity meid . |
void |
rmo_suspend(java.lang.String meid,
java.lang.String pid)
Suspend holding the current value of the parameter pid beeing
monitored on entity meid . |
void |
rmo_unregister(java.lang.String meid,
java.lang.String pid)
Stop holding the current value of the parameter pid beeing
monitored on entity meid . |
void |
suspend(java.lang.String eid)
Suspende the evaluation of the event identified by eid . |
void |
unregister(java.lang.String eid)
Stop evaluating the event identified by eid . |
Methods inherited from class EventEvaluator.Resource.ResourceManagerPOA |
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceManagerImpl(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA the_poa, EventEvaluator.Resource.ResourceEventRepository re_r)
true
;
orb
- reference to ORBthe_poa
- reference to POAre_r
- reference to resource event repositoryMethod Detail |
public void unregister(java.lang.String eid) throws EventEvaluator.NoSuchEvent, EventEvaluator.EventNotBeeingEvaluated
eid
.unregister
in class EventEvaluator.Resource.ResourceManagerPOA
eid
- the event identificationpublic void suspend(java.lang.String eid) throws EventEvaluator.NoSuchEvent, EventEvaluator.EventNotBeeingEvaluated
eid
.suspend
in class EventEvaluator.Resource.ResourceManagerPOA
eid
- the event identificationpublic void resume(java.lang.String eid) throws EventEvaluator.NoSuchEvent, EventEvaluator.EventNotBeeingEvaluated
eid
.resume
in class EventEvaluator.Resource.ResourceManagerPOA
eid
- the event identificationpublic void rmo_unregister(java.lang.String meid, java.lang.String pid)
pid
beeing
monitored on entity meid
.rmo_unregister
in class EventEvaluator.Resource.ResourceManagerPOA
meid
- the entity identificationpid
- the parameter identificationpublic void rmo_suspend(java.lang.String meid, java.lang.String pid)
pid
beeing
monitored on entity meid
.rmo_suspend
in class EventEvaluator.Resource.ResourceManagerPOA
meid
- the entity identificationpid
- the parameter identificationpublic void rmo_resume(java.lang.String meid, java.lang.String pid)
pid
beeing
monitored on entity meid
.rmo_resume
in class EventEvaluator.Resource.ResourceManagerPOA
meid
- the entity identificationpid
- the parameter identificationpublic void register(EventEvaluator.Resource.ResourceEvent re)
re
.register
in class EventEvaluator.Resource.ResourceManagerPOA
re
- reference to resource event to start beeing evaluatedpublic void rmo_register(java.lang.String strRmo, java.lang.String meid, java.lang.String pid)
pid
beeing
monitored on entity meid
.rmo_register
in class EventEvaluator.Resource.ResourceManagerPOA
meid
- the entity identificationpid
- the parameter identificationpublic void change_parameter(java.lang.String meid, java.lang.String pid, int new_range)
pid
beeing
monitored on entity meid
.change_parameter
in class EventEvaluator.Resource.ResourceManagerPOA
meid
- the entity identificationpid
- the parameter identificationnew_range
- new value of the parameter
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |