org.ow2.jasmine.jadort.client
Class JadortServiceClient

java.lang.Object
  extended by org.ow2.jasmine.jadort.client.JadortServiceClient
All Implemented Interfaces:
java.io.Serializable

public class JadortServiceClient
extends java.lang.Object
implements java.io.Serializable

This class handles the communication between the Web client and the JaDOrT Service stateful bean.

Author:
Malek Chahine, Remy Bresson, S. Ali Tokmen
See Also:
Serialized Form

Constructor Summary
JadortServiceClient()
           
 
Method Summary
 void abortServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
           
 void abortWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
           
 boolean checkServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
           
 boolean checkWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
           
 void createNewOperation(java.lang.String newOperationName)
           
 void deleteOperation(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean operation)
           
 org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean getCurrentOperation()
           
 java.util.List<org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean> getOperationsList()
           
 int getPageIndex()
           
 void ignoreServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
           
 void ignoreWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
           
 void initialize()
           
 void loadTopology(java.lang.String xmlTopoFile)
           
 void maintain()
           
 void migrate()
           
 void next()
           
 void previous()
           
 void restartServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
           
 void restartWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
           
 void selectApplication(java.lang.String urlOrFile)
           
 void selectGroup(org.ow2.jasmine.jadort.api.entities.topology.GroupBean selectedGroup)
           
 void selectOperation(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean operation)
           
 void selectServers(java.util.List<org.ow2.jasmine.jadort.api.entities.topology.ServerBean> selectedServers)
           
 void selectVMImage(org.ow2.jasmine.jadort.api.entities.deployment.VMImageBean selectedVMImage)
           
 void selectVMImage(org.ow2.jasmine.jadort.api.entities.deployment.VMImageBean selectedVMImage, org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JadortServiceClient

public JadortServiceClient()
Method Detail

initialize

public void initialize()
                throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

getOperationsList

public java.util.List<org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean> getOperationsList()
                                                                                                    throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

deleteOperation

public void deleteOperation(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean operation)
                     throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectOperation

public void selectOperation(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean operation)
                     throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

createNewOperation

public void createNewOperation(java.lang.String newOperationName)
                        throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

getCurrentOperation

public org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean getCurrentOperation()
                                                                                      throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

getPageIndex

public int getPageIndex()
                 throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

next

public void next()
          throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

previous

public void previous()
              throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

loadTopology

public void loadTopology(java.lang.String xmlTopoFile)
                  throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectGroup

public void selectGroup(org.ow2.jasmine.jadort.api.entities.topology.GroupBean selectedGroup)
                 throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

migrate

public void migrate()
             throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectApplication

public void selectApplication(java.lang.String urlOrFile)
                       throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

maintain

public void maintain()
              throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectVMImage

public void selectVMImage(org.ow2.jasmine.jadort.api.entities.deployment.VMImageBean selectedVMImage)
                   throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectServers

public void selectServers(java.util.List<org.ow2.jasmine.jadort.api.entities.topology.ServerBean> selectedServers)
                   throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

selectVMImage

public void selectVMImage(org.ow2.jasmine.jadort.api.entities.deployment.VMImageBean selectedVMImage,
                          org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
                   throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

abortServer

public void abortServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
                 throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

restartServer

public void restartServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
                   throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

checkServer

public boolean checkServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
                    throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

ignoreServer

public void ignoreServer(org.ow2.jasmine.jadort.api.entities.topology.ServerBean server)
                  throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

abortWorker

public void abortWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
                 throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

restartWorker

public void restartWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
                   throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

checkWorker

public boolean checkWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
                    throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo

ignoreWorker

public void ignoreWorker(org.ow2.jasmine.jadort.api.entities.topology.WorkerBean worker)
                  throws JadortServiceExceptionWithInfo
Throws:
JadortServiceExceptionWithInfo


Copyright © 2009 OW2 Consortium. All Rights Reserved.