public interface ImportedServiceDeclaration
ModuleAssembly.importedServices(Class[])
.Modifier and Type | Field and Description |
---|---|
static Class<? extends ServiceImporter> |
INSTANCE |
static Class<? extends ServiceImporter> |
NEW_OBJECT |
static Class<? extends ServiceImporter> |
SERVICE_IMPORTER |
static Class<? extends ServiceImporter> |
SERVICE_SELECTOR |
Modifier and Type | Method and Description |
---|---|
ImportedServiceDeclaration |
identifiedBy(String identity) |
ImportedServiceDeclaration |
importedBy(Class<? extends ServiceImporter> serviceImporterClass) |
ImportedServiceDeclaration |
importOnStartup() |
ImportedServiceDeclaration |
setMetaInfo(Object serviceAttribute) |
ImportedServiceDeclaration |
taggedWith(String... tags) |
ImportedServiceDeclaration |
visibleIn(Visibility visibility) |
ImportedServiceDeclaration |
withActivators(Class<? extends Activator<?>>... activators)
Set the imported service activators.
|
static final Class<? extends ServiceImporter> INSTANCE
static final Class<? extends ServiceImporter> NEW_OBJECT
static final Class<? extends ServiceImporter> SERVICE_SELECTOR
static final Class<? extends ServiceImporter> SERVICE_IMPORTER
ImportedServiceDeclaration visibleIn(Visibility visibility)
ImportedServiceDeclaration importedBy(Class<? extends ServiceImporter> serviceImporterClass)
ImportedServiceDeclaration identifiedBy(String identity)
ImportedServiceDeclaration taggedWith(String... tags)
ImportedServiceDeclaration setMetaInfo(Object serviceAttribute)
ImportedServiceDeclaration importOnStartup()
ImportedServiceDeclaration withActivators(Class<? extends Activator<?>>... activators)
activators
- the imported service activators