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(org.qi4j.api.common.Visibility visibility) |
ServiceDeclaration |
withActivators(Class<? extends org.qi4j.api.activation.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(org.qi4j.api.common.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 org.qi4j.api.activation.Activator<?>>... activators)
activators
- the service activators