public interface Service extends NamedObject, SplashMessageProvider
This interface is intended to be used to implement services that are common enough to make them available on the container so other Mule artifacts can make use of them without having to re-implement them.
Service implementations can implement lifecycle interfaces Startable
and Stoppable
. Lifecycle will be applied
when the container is started/stopped.
Implementations may overload methods from the Service interface with @Inject
and add any parameters
to be resolved from the Mule application context. When such invocation is made, those injected parameters cannot be null.
Modifier and Type | Method and Description |
---|---|
default String |
getSplashMessage()
Provides a message to show in the splash screen of the Mule Runtime when this is started.
|
getName
default String getSplashMessage()
SplashMessageProvider
getSplashMessage
in interface SplashMessageProvider
Copyright © 2018. All rights reserved.