public interface ServiceDeclaration
ModuleAssembly.services(Class[])
.Modifier and Type | Method and Description |
---|---|
ServiceDeclaration |
identifiedBy(String identity) |
ServiceDeclaration |
instantiateOnStartup() |
ServiceDeclaration |
setMetaInfo(Object serviceAttribute) |
ServiceDeclaration |
taggedWith(String... tags) |
ServiceDeclaration |
visibleIn(Visibility visibility) |
ServiceDeclaration |
withActivators(Class<? extends Activator<?>>... activators)
Set the service activators.
|
ServiceDeclaration |
withConcerns(Class<?>... concerns) |
ServiceDeclaration |
withMixins(Class<?>... mixins) |
ServiceDeclaration |
withSideEffects(Class<?>... sideEffects) |
ServiceDeclaration |
withTypes(Class<?>... types) |
ServiceDeclaration setMetaInfo(Object serviceAttribute)
ServiceDeclaration visibleIn(Visibility visibility)
ServiceDeclaration withConcerns(Class<?>... concerns)
ServiceDeclaration withSideEffects(Class<?>... sideEffects)
ServiceDeclaration withMixins(Class<?>... mixins)
ServiceDeclaration withTypes(Class<?>... types)
ServiceDeclaration identifiedBy(String identity)
ServiceDeclaration taggedWith(String... tags)
ServiceDeclaration instantiateOnStartup()
ServiceDeclaration withActivators(Class<? extends Activator<?>>... activators)
activators
- the service activators