public interface ExtensionPoint
A very simple interface that indicates service provider extension points. The idea is that some service provider
interfaces are extension points in the sense that there might be custom implementation of the interface that
are lookup up by the ServiceLoader used by the respective service. Implementations are
identified by a name. This interface defines hasName(String) to check whether a service provider matches
the sought name or not.
The contract is that service providers must always accept their qualified class name.
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The custom name of the service provider.
|
default boolean |
hasName(String providername)
Checks if a concrete service provider implementation of this service provider
interface matches the given name.
|
default boolean hasName(String providername)
providername - A name to check whether it matches the name of a provider.String getName()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.