See: Description
| Interface | Description |
|---|---|
| Service |
Marker interface for services.
|
| ServiceManager |
The
ServiceManager is used to manage services in and runtime discovery of service implementations in the scope
of a single SearchFactory. |
| Startable |
Lifecycle contract for services which wish to be notified when it is time to start.
|
| Stoppable |
Lifecycle contract for services which wish to be notified when it is time to stop.
|
| Class | Description |
|---|---|
| ServiceReference<S extends Service> |
A auto-closable reference to a
Service. |
ServiceManager which allows to retrieve and release services. Services can be provided
programmatically or discovered via Java's ServiceLoader mechanism.
In order to be a service an interface must extend the Service interface.
Optionally a service implementation can also implement Startable and/or Stoppable in order to get life cycle callbacks.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.