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);
}
}
Aggregations