|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJadortService
JaDOrT service's interface. Gives direct access to the JaDOrT engine.
This interface is accessible via EJB3.
| Nested Class Summary | |
|---|---|
static class |
IJadortService.OperationType
Operation types. |
| Field Summary | |
|---|---|
static java.lang.String |
EJB_JNDI_NAME
The JNDI name of the JaDOrT Stateful EJB3 bean. |
| Method Summary | |
|---|---|
void |
abortServer(ServerBean server)
Aborts the task a ServerBean is currently doing. |
void |
abortWorker(WorkerBean worker)
Aborts the task a WorkerBean is currently doing. |
boolean |
checkServer(ServerBean server)
Checks if the problem on a given ServerBean has been resolved. |
boolean |
checkWorker(WorkerBean worker)
Checks if the problem on a given WorkerBean has been resolved. |
void |
createNewOperation(java.lang.String newOperationName)
Create a new operation |
void |
deleteOperation(OperationStateBean operation)
Delete an Operation from the operation list |
OperationStateBean |
getCurrentOperation()
Returns the current operation. |
OperationStateBean.Step |
getCurrentStep()
Returns the current Step of the current operation |
java.util.List<OperationStateBean> |
getOperationsList()
Returns the list of operations |
void |
ignoreServer(ServerBean server)
Ignores the error on a given ServerBean. |
void |
ignoreWorker(WorkerBean worker)
Ignores the error on a given WorkerBean. |
void |
loadTopology(java.lang.String topology)
Loads the topology using an XML stream passed as a string. |
void |
next()
goes to next step |
void |
previous()
Goes back to the previous step. |
void |
restartServer(ServerBean server)
Restarts a ServerBean that's in an error. |
void |
restartWorker(WorkerBean worker)
Restarts a WorkerBean that's in an error. |
void |
selectApplication(java.net.URL url)
Create a new application |
void |
selectGroup(GroupBean selectedGroup)
Select the group that JaDOrT will be maintaining or migrating |
void |
selectOperation(OperationStateBean operation)
Select an Operation from the operation list |
void |
selectOperationType(IJadortService.OperationType operationType)
Select the operation type |
void |
selectServers(java.util.List<ServerBean> selectedServers)
Select the servers to process |
void |
selectVMImage(VMImageBean selectedVMImage)
Select a VM image from the VM images list. |
void |
selectVMImage(VMImageBean selectedVMImage,
ServerBean server)
Select a VM image from the VM images list for a given server. |
| Field Detail |
|---|
static final java.lang.String EJB_JNDI_NAME
| Method Detail |
|---|
OperationStateBean.Step getCurrentStep()
throws JadortServiceException
JadortServiceException
java.util.List<OperationStateBean> getOperationsList()
throws JadortServiceException
JadortServiceException
void deleteOperation(OperationStateBean operation)
throws JadortServiceException
operation - the operation to be deleted
JadortServiceException
void selectOperation(OperationStateBean operation)
throws JadortServiceException
operation - the operation to be selected
JadortServiceException
void createNewOperation(java.lang.String newOperationName)
throws JadortServiceException
newOperationName - the name of the new operation that will be
created
JadortServiceException
OperationStateBean getCurrentOperation()
throws JadortServiceException
JadortServiceException
void next()
throws JadortServiceException
JadortServiceExceptionIJadortService#canGoToNextStep()
void previous()
throws JadortServiceException
JadortServiceExceptionIJadortService#canGoToPreviousStep()
void loadTopology(java.lang.String topology)
throws JadortServiceException
topology - Topology XML stream passed as a string.
JadortServiceException
void selectGroup(GroupBean selectedGroup)
throws JadortServiceException
selectedGroup - the group that JaDOrT will be maintaining or
migrating
JadortServiceException
void selectOperationType(IJadortService.OperationType operationType)
throws JadortServiceException
operationType - the operation type
JadortServiceException
void selectVMImage(VMImageBean selectedVMImage)
throws JadortServiceException
selectedVMImage - the VM image to be selected
JadortServiceException
void selectVMImage(VMImageBean selectedVMImage,
ServerBean server)
throws JadortServiceException
selectedVMImage - the VM image to be selectedserver - the server on which this image shall be deployed
JadortServiceException
void selectApplication(java.net.URL url)
throws JadortServiceException
url - URL where to fetch the application. Can be local, remote
(HTTP, FTP, ...)
JadortServiceException
void selectServers(java.util.List<ServerBean> selectedServers)
throws JadortServiceException
selectedServers - the servers to process
JadortServiceException
void restartServer(ServerBean server)
throws JadortServiceException
server - the server on which the task will be restarted
JadortServiceException
boolean checkServer(ServerBean server)
throws JadortServiceException
server - the server that will be checked
JadortServiceException
void ignoreServer(ServerBean server)
throws JadortServiceException
server - the server that will be ignored
JadortServiceException
void abortServer(ServerBean server)
throws JadortServiceException
server - the server that will be aborted
JadortServiceException
void restartWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker on which the task will be restarted
JadortServiceException
boolean checkWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be checked
JadortServiceException
void ignoreWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be ignored
JadortServiceException
void abortWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be aborted
JadortServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||