Interface DistributedLocalService


public interface DistributedLocalService
Local Service API of the Keyple Distributed Solution.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.eclipse.keyple.core.common.KeypleDistributedLocalServiceExtension>
    T
    getExtension(Class<T> distributedLocalServiceExtensionClass)
    Returns the specific implementation of a KeypleDistributedLocalServiceExtension
    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 a KeypleDistributedLocalServiceExtension

      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