/* * CORBA Generic Server * 2003 * *@author Didier.Donsez@imag.fr */ module MAdmin { //---------------- // exceptions //---------------- exception DeploymentException { string msg; }; exception UnDeploymentException { string msg; }; exception UnExistingServiceException { string msg; }; //---------------- // Interfaces //---------------- interface Shutdown { oneway void shutdown(in long delayInSec); }; typedef sequence SeqOfParameters; struct Service { string classname; SeqOfParameters parameters; string codebase; string nsbind; string poaid; string ioroutputstream; boolean persistentflag; }; typedef sequence SeqOfService; interface Deployment { any deploy( in Service service) raises (DeploymentException); void undeploy(in any serviceior) raises (UnDeploymentException); SeqOfService listAll(); Service get(in any serviceior) raises (UnExistingServiceException); }; };