/** * This method statically called by a remote machine to register an object * reference. * @param ref The remote reference to the object to be registered */ public void post(RemoteInvoke ref) throws ServerNotActiveException { entries.put(java.rmi.server.RemoteServer.getClientHost(), ref); } // technically it couldn't ever throw this exception at a remote client /**
String host = RemoteServer.getClientHost(); InetAddress addr = null; try {
Subject subject = new Subject(); try { subject.getPrincipals().add(new ClientPrincipal("jmx", RemoteServer.getClientHost())); } catch (Throwable t) {
try String clientHost = RemoteServer.getClientHost(); if(clientHost != null && clientHost.length() > 0)
Object item, String source, String dest) throws Exception { if (!remoteInvoke) try { java.rmi.server.RemoteServer.getClientHost(); throw new IllegalAccessException("remote fetch disabled"); } catch(java.rmi.server.ServerNotActiveException x) {}
int run = (int)(System.currentTimeMillis() - time); String clientHost = null; try { clientHost = RemoteServer.getClientHost(); } catch(ServerNotActiveException x) { StackTraceElement stes[] = x.getStackTrace();
host = RemoteServer.getClientHost(); } catch (ServerNotActiveException ex) { throw new RuntimeException(ex);
Object result = m.invoke(item, o_args != NOARGS ? o_args : null); if (result != null && !(result instanceof Serializable)) try { RemoteServer.getClientHost(); HashSet interfaces = new HashSet(); for (Class c = result.getClass(); c != null; c = c.getSuperclass())
String clientHost = RemoteServer.getClientHost(); subject = new Subject(false, subject.getPrincipals(),
String clientHost = RemoteServer.getClientHost(); metadata.put(Remoting.CLIENT_ADDRESS, InetAddress.getByName(clientHost));
mFtpConfig.getConfig().getLogger().info("Remote admin login request from " + UnicastRemoteObject.getClientHost()); mFtpConfig.getConfig().getLogger().info("Remote admin login from " + UnicastRemoteObject.getClientHost());