public final class ServiceDeclarationImpl extends Object implements org.qi4j.bootstrap.ServiceDeclaration
ModuleAssemblyImpl.services(Class[])
.Constructor and Description |
---|
ServiceDeclarationImpl(Iterable<ServiceAssemblyImpl> serviceAssemblies) |
Modifier and Type | Method and Description |
---|---|
org.qi4j.bootstrap.ServiceDeclaration |
identifiedBy(String identity) |
org.qi4j.bootstrap.ServiceDeclaration |
instantiateOnStartup() |
org.qi4j.bootstrap.ServiceDeclaration |
setMetaInfo(Object serviceAttribute) |
org.qi4j.bootstrap.ServiceDeclaration |
taggedWith(String... tags) |
org.qi4j.bootstrap.ServiceDeclaration |
visibleIn(org.qi4j.api.common.Visibility visibility) |
org.qi4j.bootstrap.ServiceDeclaration |
withActivators(Class<? extends org.qi4j.api.activation.Activator<?>>... activators) |
org.qi4j.bootstrap.ServiceDeclaration |
withConcerns(Class<?>... concerns) |
org.qi4j.bootstrap.ServiceDeclaration |
withMixins(Class<?>... mixins) |
org.qi4j.bootstrap.ServiceDeclaration |
withSideEffects(Class<?>... sideEffects) |
org.qi4j.bootstrap.ServiceDeclaration |
withTypes(Class<?>... types) |
public ServiceDeclarationImpl(Iterable<ServiceAssemblyImpl> serviceAssemblies)
public org.qi4j.bootstrap.ServiceDeclaration visibleIn(org.qi4j.api.common.Visibility visibility)
visibleIn
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration identifiedBy(String identity)
identifiedBy
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration taggedWith(String... tags)
taggedWith
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration instantiateOnStartup()
instantiateOnStartup
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration setMetaInfo(Object serviceAttribute)
setMetaInfo
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration withConcerns(Class<?>... concerns)
withConcerns
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration withSideEffects(Class<?>... sideEffects)
withSideEffects
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration withMixins(Class<?>... mixins)
withMixins
in interface org.qi4j.bootstrap.ServiceDeclaration
public org.qi4j.bootstrap.ServiceDeclaration withTypes(Class<?>... types)
withTypes
in interface org.qi4j.bootstrap.ServiceDeclaration
@SafeVarargs public final org.qi4j.bootstrap.ServiceDeclaration withActivators(Class<? extends org.qi4j.api.activation.Activator<?>>... activators)
withActivators
in interface org.qi4j.bootstrap.ServiceDeclaration