Пример #1
0
  @Override
  protected void configure() {
    super.configure();

    // The Datamodel
    install(new DatamodelRdfModule());
    install(new DatamodelTranslationModule());

    // ResolutionServices
    install(new MDHTResolutionModule(NODE_PROPERTIES));
  }
Пример #2
0
  @Override
  protected void configure() {
    super.configure();

    // The Datamodel
    install(new DatamodelRdfModule());
    install(new DatamodelTranslationModule());

    // Need a binding to AccessServer
    install(new RESTModule());

    // Peerside Cache
    install(new PeersideCacheModule(NODE_PROPERTIES));
    // Network Cache
    install(new NetworkCacheModule(NODE_PROPERTIES));
  }