|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractNamedObject
appl.parallel.client.RemoteExecutionController
public class RemoteExecutionController
This plugin is responsible that all services required for remote
execution are properly started. It first starts the
GlobalDiscoveryService
. Then it uses the following entries of
XuluConfig
for configuration:
RemoteExecutionController.spmd.start
- if, true
the ClientDataServer
is started.
RemoteExecutionController.http.start
- if, true
the HTTP-Class server
is started.
RemoteExecutionController.startLocalXuluServer
- if,
true
a local XuluServer
is started.
.
Constructor Summary | |
---|---|
RemoteExecutionController()
|
Method Summary | |
---|---|
void |
addResourceChangeListener(ResourceChangeListener r)
adds the change lister |
void |
execute(XuluModellingPlatform appl)
Starts the Plugin |
RemoteEventHandler |
getEventProxy()
|
SPMDClientController |
getNewSPMDClientController(ComputingResourceContainer[] computingResources)
Gives a new SPMDClientController . |
SPMDClientController |
getNewSPMDClientController(Vector<ComputingResourceContainer> computingResources)
Gives a new SPMDClientController . |
static RemoteExecutionController |
getRemoteExecutionController(XuluModellingPlatform modellingPlatform)
|
boolean |
isStarted()
Prueft, ob das Plugin gestartet ist. |
boolean |
isVisible()
Prueft, ob die GUI zur Plugin-Konfiguration angezeigt wird. |
void |
prepareModelForSPMDExecution(ParallelStepModel model,
ComputingResourceContainer[] selectedResourceContainers)
Prepares a Model for execution, which means it creates a SPMDClientController with the given Resources |
void |
refreshResources()
Gets active Resources and triggers the discovery-process. |
void |
removeResourceChangeListener(ResourceChangeListener r)
Removes the change listener |
void |
setVisible(boolean visible)
Zeigt die GUI zur Plugin-Konfiguration an oder verbirgt sie. |
void |
stop()
Stoppt die Ausfuehrung des Plugins. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteExecutionController()
Method Detail |
---|
public void execute(XuluModellingPlatform appl)
execute
in interface XuluPlugin
appl
- Instanz der Xulu-ApplikationXuluPlugin.execute(edu.bonn.xulu.XuluModellingPlatform)
public boolean isStarted()
XuluPlugin
isStarted
in interface XuluPlugin
public boolean isVisible()
XuluPlugin
isVisible
in interface XuluPlugin
public void setVisible(boolean visible)
XuluPlugin
setVisible
in interface XuluPlugin
public void stop()
XuluPlugin
stop
in interface XuluPlugin
public void refreshResources()
ResourceChangeListener
s.
*
public void addResourceChangeListener(ResourceChangeListener r)
r
- the change listenerpublic void removeResourceChangeListener(ResourceChangeListener r)
r
- the change listener to removepublic SPMDClientController getNewSPMDClientController(ComputingResourceContainer[] computingResources)
SPMDClientController
.
computingResources
- the resources to be used by the new controller
SPMDClientController
for the given resourcespublic SPMDClientController getNewSPMDClientController(Vector<ComputingResourceContainer> computingResources)
SPMDClientController
.
computingResources
- the resources to be used by the new controller
SPMDClientController
for the given resourcespublic static RemoteExecutionController getRemoteExecutionController(XuluModellingPlatform modellingPlatform)
XuluModellingPlatform
or null, if not foundpublic RemoteEventHandler getEventProxy()
public void prepareModelForSPMDExecution(ParallelStepModel model, ComputingResourceContainer[] selectedResourceContainers)
SPMDClientController
with the given Resources
model
- the model which is to be executed parallelselectedResourceContainers
- the resources on which the model is executed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |