diff options
Diffstat (limited to 'java/src/IceGridGUI/AdminRouter.java')
-rwxr-xr-x | java/src/IceGridGUI/AdminRouter.java | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/java/src/IceGridGUI/AdminRouter.java b/java/src/IceGridGUI/AdminRouter.java index a163d742bbc..8e436b76e2d 100755 --- a/java/src/IceGridGUI/AdminRouter.java +++ b/java/src/IceGridGUI/AdminRouter.java @@ -13,42 +13,42 @@ import IceGrid.*; class AdminRouter extends Ice.Blobject { public boolean ice_invoke(byte[] inParams, - Ice.ByteSeqHolder outParams, - Ice.Current current) + Ice.ByteSeqHolder outParams, + Ice.Current current) { - if(_admin == null) - { - throw new Ice.ObjectNotExistException(current.id, - current.facet, - current.operation); - } - else if(current.operation.equals("ice_id") || - current.operation.equals("ice_ids") || - current.operation.equals("ice_isA") || - current.operation.equals("ice_ping") || - current.operation.equals("getDefaultApplicationDescriptor")) - { - - return _admin.ice_invoke(current.operation, - current.mode, - inParams, outParams, - current.ctx); - } - else - { - // - // Routing other operations could be a security risk - // - throw new Ice.OperationNotExistException(current.id, - current.facet, - current.operation); - } + if(_admin == null) + { + throw new Ice.ObjectNotExistException(current.id, + current.facet, + current.operation); + } + else if(current.operation.equals("ice_id") || + current.operation.equals("ice_ids") || + current.operation.equals("ice_isA") || + current.operation.equals("ice_ping") || + current.operation.equals("getDefaultApplicationDescriptor")) + { + + return _admin.ice_invoke(current.operation, + current.mode, + inParams, outParams, + current.ctx); + } + else + { + // + // Routing other operations could be a security risk + // + throw new Ice.OperationNotExistException(current.id, + current.facet, + current.operation); + } } AdminRouter(AdminPrx admin) { - _admin = admin; + _admin = admin; } private final AdminPrx _admin; |