@Override public void registerMethods(RSBLocalServer server) throws CouldNotPerformException { RPCHelper.registerInterface(Launcher.class, this, server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { RPCHelper.registerInterface(RegistryController.class, this, server); }
/** * {@inheritDoc} * * @param server {@inheritDoc} * @throws CouldNotPerformException {@inheritDoc} */ @Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(DeviceRegistry.class, this, server); }
@Override public void registerMethods(RSBLocalServer server) throws CouldNotPerformException { // TODO Tamino: Make sure the unit template of connections already contains all services which are defined in the connection interface. // afterwarts remove this method because all services should be registered by the abstract unit class. Please make sure the mock registry registeres these services as well. RPCHelper.registerInterface(Connection.class, this, server); super.registerMethods(server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(UserActivityRegistry.class, this, server); }
/** * {@inheritDoc} * * @param server * @throws org.openbase.jul.exception.CouldNotPerformException {@inheritDoc} */ @Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(LocationRegistry.class, this, server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(AgentRegistry.class, this, server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(SceneRegistry.class, this, server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(UnitRegistry.class, this, server); }
@Override public void registerMethods(final RSBLocalServer server) throws CouldNotPerformException { super.registerMethods(server); RPCHelper.registerInterface(AppRegistry.class, this, server); }
@Override public void init(Scope scope, ParticipantConfig participantConfig) throws InitializationException, InterruptedException { super.init(scope, participantConfig); try { RPCHelper.registerInterface(AuthenticatedRequestable.class, this, server); } catch (CouldNotPerformException ex) { throw new InitializationException(this, ex); } }
@Override public void init(Scope scope, ParticipantConfig participantConfig) throws InitializationException, InterruptedException { super.init(scope, participantConfig); try { RPCHelper.registerInterface(AuthenticatedRequestable.class, this, server); } catch (CouldNotPerformException ex) { throw new InitializationException(this, ex); } }
@Override public void registerMethods(RSBLocalServer server) throws CouldNotPerformException { RPCHelper.registerInterface(Unit.class, this, server); RPCHelper.registerInterface((Class) serviceInterfaceClass, this, server); } catch (CouldNotPerformException ex) { ExceptionPrinter.printHistory(new CouldNotPerformException("Could not register Interface[" + serviceInterfaceClass + "] Method [" + serviceInterfaceMapEntry.getKey() + "] for Unit[" + this.getLabel() + "].", ex), logger);
RPCHelper.registerInterface(Pingable.class, this, server); RPCHelper.registerInterface(Requestable.class, this, server); registerMethods(server);