summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/AdminRouter.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-10-20 11:40:05 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-10-20 11:40:05 -0230
commitb51469b41167fb86ae2059a15cf0475c53fdda7b (patch)
treefc85d6ca2efd89c67e1e4e7438f437c3e08313f4 /java/src/IceGridGUI/AdminRouter.java
parentFixed (ICE-5695) - IceSSL: misleading exception (diff)
downloadice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.bz2
ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.xz
ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.zip
Down with ant. From the gradle to the grave.
Diffstat (limited to 'java/src/IceGridGUI/AdminRouter.java')
-rw-r--r--java/src/IceGridGUI/AdminRouter.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/java/src/IceGridGUI/AdminRouter.java b/java/src/IceGridGUI/AdminRouter.java
deleted file mode 100644
index 4d4d9557e88..00000000000
--- a/java/src/IceGridGUI/AdminRouter.java
+++ /dev/null
@@ -1,46 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-package IceGridGUI;
-
-import IceGrid.*;
-
-class AdminRouter extends Ice.Blobject
-{
- @Override
- public boolean ice_invoke(byte[] inParams, 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);
- }
- }
-
- AdminRouter(AdminPrx admin)
- {
- _admin = admin;
- }
-
- private final AdminPrx _admin;
-}