Package net.solarnetwork.node.job
Interface ServiceProvider
- All Known Subinterfaces:
ManagedJob
- All Known Implementing Classes:
SimpleManagedJob
public interface ServiceProvider
API for a provider of runtime service configuration. This is designed for the
scenario where a managed job wants to expose a service that is used by the
job instance as a registered service itself.
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA single service configuration. -
Method Summary
Modifier and TypeMethodDescriptionGet a collection of service configurations.
-
Method Details
-
getServiceConfigurations
Collection<ServiceProvider.ServiceConfiguration> getServiceConfigurations()Get a collection of service configurations.- Returns:
- A collection of configuration objects.
-