Search in sources :

Example 1 with ImportedServiceDeclaration

use of org.qi4j.bootstrap.ImportedServiceDeclaration in project qi4j-sdk by Qi4j.

the class JettyServiceAssembler method assembleServer.

protected final void assembleServer(ModuleAssembly module) {
    serverModule = serverModule != null ? serverModule : module;
    ImportedServiceDeclaration server = serverModule.importedServices(Server.class).importedBy(InstanceImporter.class).setMetaInfo(new Server()).visibleIn(serverVisibility);
    if (serverIdentity != null) {
        server.identifiedBy(serverIdentity);
    }
}
Also used : Server(org.eclipse.jetty.server.Server) ImportedServiceDeclaration(org.qi4j.bootstrap.ImportedServiceDeclaration)

Aggregations

Server (org.eclipse.jetty.server.Server)1 ImportedServiceDeclaration (org.qi4j.bootstrap.ImportedServiceDeclaration)1