Marker interface for services.
Lifecycle contract for services which wish to be notified when it is time to start.
Lifecycle contract for services which wish to be notified when it is time to stop.
|ServiceReference<S extends Service>||
A auto-closable reference to a
ServiceManagerwhich allows to retrieve and release services. Services can be provided programmatically or discovered via Java's
ServiceLoadermechanism. In order to be a service an interface must extend the
Serviceinterface. Optionally a service implementation can also implement
Stoppablein order to get life cycle callbacks.
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved