public interface ServiceProvider
Instances of this class made available to the ServiceLoader
are automatically
added to the ServiceRegistry
at startup.
Modifier and Type | Method and Description |
---|---|
Collection<Service> |
createServices()
Returns a collection of services to be registered.
|
String |
getName()
Returns the name of the service provider.
|
String getName()
Collection<Service> createServices()
Copyright © 2015. All rights reserved.