Class SailRegistry


public class SailRegistry extends ServiceRegistry<String,SailFactory>
A registry that keeps track of the available SailFactorys.
Author:
Arjohn Kampman
  • Constructor Details

    • SailRegistry

      public SailRegistry()
  • Method Details

    • getInstance

      public static SailRegistry getInstance()
      Gets the default SailRegistry.
      Returns:
      The default registry.
    • getKey

      protected String getKey(SailFactory factory)
      Description copied from class: ServiceRegistry
      Gets the key for the specified service.
      Specified by:
      getKey in class ServiceRegistry<String,SailFactory>
      Parameters:
      factory - The service to get the key for.
      Returns:
      The key for the specified service.