Package org.eclipse.keyple.core.service
Interface DistributedLocalService
public interface DistributedLocalService
Local Service API of the Keyple Distributed Solution.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescription<T extends org.eclipse.keyple.core.common.KeypleDistributedLocalServiceExtension>
TgetExtension
(Class<T> distributedLocalServiceExtensionClass) Returns the specific implementation of aKeypleDistributedLocalServiceExtension
getName()
Returns the name of the distributed local service.
-
Method Details
-
getName
String getName()Returns the name of the distributed local service.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
getExtension
<T extends org.eclipse.keyple.core.common.KeypleDistributedLocalServiceExtension> T getExtension(Class<T> distributedLocalServiceExtensionClass) Returns the specific implementation of aKeypleDistributedLocalServiceExtension
Note : the provided argument is used at compile time to check the type consistency.
- Type Parameters:
T
- The type of the service extension- Parameters:
distributedLocalServiceExtensionClass
- the specific class of the local service- Returns:
- a
KeypleDistributedLocalServiceExtension
-