@Override public void start() { super.start(); // Register all of the classes that have been waiting. synchronized(pending) { for( ObjectInfo info : pending ) { rmi.share(info.channel, info.name, info.object, info.type); } pending.clear(); isStarted = true; } }
/** * Returns the client for this client service or null if * the service is not yet attached. */ protected Client getClient() { ClientServiceManager csm = getServiceManager(); return csm == null ? null : csm.getClient(); }
/** * Called during connection setup once the server-side services have been * initialized for this connection and any shared objects, etc. should be * available. */ @Override public void start() { logger.finer("start()"); super.start(); }
/** * Returns the client for this client service or null if * the service is not yet attached. */ protected Client getClient() { ClientServiceManager csm = getServiceManager(); return csm == null ? null : csm.getClient(); }
/** * Called during connection setup once the server-side services have been * initialized for this connection and any shared objects, etc. should be * available. */ @Override public void start() { logger.finer("start()"); super.start(); }
@Override public void start() { super.start(); // Register all of the classes that have been waiting. synchronized(pending) { for( ObjectInfo info : pending ) { rmi.share(info.channel, info.name, info.object, info.type); } pending.clear(); isStarted = true; } }
/** * Called during connection setup once the server-side services have been * initialized for this connection and any shared objects, etc. should be * available. */ @Override public void start() { logger.finer("start()"); super.start(); this.delegate = rmiService.getRemoteObject(AccountSession.class); logger.log(Level.FINER, "delegate:{0}", delegate); if (delegate == null) { throw new RuntimeException("No account session found during connection setup"); } }