Class Registration

java.lang.Object
csw.location.api.models.Registration
All Implemented Interfaces:
LocationSerializable
Direct Known Subclasses:
AkkaRegistration, HttpRegistration, TcpRegistration

public abstract class Registration extends Object implements LocationSerializable
Registration holds information about a connection and its live location. This model is used to register a connection with LocationService.
  • Constructor Details

    • Registration

      public Registration()
  • Method Details

    • connection

      public abstract Connection connection()
      The Connection to register with LocationService
      Returns:
      (undocumented)
    • location

      public abstract Location location(String hostname)
      A location represents a live connection available for consumption

      Parameters:
      hostname - provide a hostname where the connection endpoint is available
      Returns:
      a location representing a live connection at provided hostname
    • metadata

      public abstract Metadata metadata()
      metadata represents any additional information (metadata) associated with registration
      Returns:
      (undocumented)
    • withCswVersion

      public abstract Registration withCswVersion(String version)