Пример #1
0
  @Override
  protected void doStart() throws Exception {
    _dispatcher = newDispatcher();
    DispatcherRegistry dispatcherRegistry = new StaticDispatcherRegistry();
    dispatcherRegistry.register(_dispatcher);
    _dispatcher.start();

    AdminServiceSpace adminServiceSpace =
        new AdminServiceSpace(_dispatcher, new JDKClassIndexerRegistry(new DeclaredMemberFilter()));
    adminServiceSpace.start();
  }
Пример #2
0
 @Override
 protected void doStop() throws Exception {
   _dispatcher.stop();
 }