org.qi4j.bootstrap
Interface ImportedServiceDeclaration
public interface ImportedServiceDeclaration
Fluent API for declaring imported services. Instances
of this API are acquired by calling ModuleAssembly.importedServices(Class[])
.
INSTANCE
static final Class<? extends ServiceImporter> INSTANCE
NEW_OBJECT
static final Class<? extends ServiceImporter> NEW_OBJECT
SERVICE_SELECTOR
static final Class<? extends ServiceImporter> SERVICE_SELECTOR
SERVICE_IMPORTER
static final Class<? extends ServiceImporter> SERVICE_IMPORTER
visibleIn
ImportedServiceDeclaration visibleIn(Visibility visibility)
importedBy
ImportedServiceDeclaration importedBy(Class<? extends ServiceImporter> serviceImporterClass)
identifiedBy
ImportedServiceDeclaration identifiedBy(String identity)
taggedWith
ImportedServiceDeclaration taggedWith(String... tags)
setMetaInfo
ImportedServiceDeclaration setMetaInfo(Object serviceAttribute)