summaryrefslogtreecommitdiff
path: root/slice/IceGrid
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-12-03 15:04:10 +0100
committerBenoit Foucher <benoit@zeroc.com>2007-12-03 15:04:10 +0100
commit7bae461be57d06320c1d7860e6967bcd0b14718c (patch)
tree1763ec9f485e6f1ad0af51fa2c8fa6ae6e409907 /slice/IceGrid
parentAdded more @deprecated tags to the Java generated code to reduce the number o... (diff)
downloadice-7bae461be57d06320c1d7860e6967bcd0b14718c.tar.bz2
ice-7bae461be57d06320c1d7860e6967bcd0b14718c.tar.xz
ice-7bae461be57d06320c1d7860e6967bcd0b14718c.zip
- Changed AdminI server start/stop methods to use AMI/AMD
- Minor exception handling fix in registry server admin router. - Changed Admin::getServerAdmin method to check if the server exists and can be loaded on the node before to return the server admin object. - Fixed icegridadmin to use the process facet to write messages
Diffstat (limited to 'slice/IceGrid')
-rw-r--r--slice/IceGrid/Admin.ice18
1 files changed, 12 insertions, 6 deletions
diff --git a/slice/IceGrid/Admin.ice b/slice/IceGrid/Admin.ice
index 5b19d164010..bb572fdb79f 100644
--- a/slice/IceGrid/Admin.ice
+++ b/slice/IceGrid/Admin.ice
@@ -594,7 +594,6 @@ interface Admin
["nonmutating", "cpp:const"] idempotent int getServerPid(string id)
throws ServerNotExistException, NodeUnreachableException, DeploymentException;
-
/**
*
* Get the category for server admin objects. You can manufacture a server admin
@@ -607,7 +606,6 @@ interface Admin
["cpp:const"]
idempotent string getServerAdminCategory();
-
/**
*
* Get a proxy to the server's admin object
@@ -616,10 +614,18 @@ interface Admin
*
* @return A proxy to the server's admin object
*
+ * @throws ServerNotExistException Raised if the server doesn't exist.
+ *
+ * @throws NodeUnreachableException Raised if the node could not
+ * be reached.
+ *
+ * @throws DeploymentException Raised if the server couldn't be
+ * deployed on the node.
+ *
**/
["cpp:const"]
- idempotent Object* getServerAdmin(string id);
-
+ idempotent Object* getServerAdmin(string id)
+ throws ServerNotExistException, NodeUnreachableException, DeploymentException;
/**
*
@@ -685,7 +691,7 @@ interface Admin
* deployed on the node.
*
**/
- ["ami"] void startServer(string id)
+ ["ami", "amd"] void startServer(string id)
throws ServerNotExistException, ServerStartException, NodeUnreachableException, DeploymentException;
/**
@@ -707,7 +713,7 @@ interface Admin
* deployed on the node.
*
**/
- ["ami"] void stopServer(string id)
+ ["ami", "amd"] void stopServer(string id)
throws ServerNotExistException, ServerStopException, NodeUnreachableException, DeploymentException;
/**