Class TimeSupportLocator

java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.timesupport.TimeSupportLocator
All Implemented Interfaces:
org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists

public class TimeSupportLocator extends org.gvsig.tools.locator.BaseLocator
This locator is the entry point for the TimeSupport library, providing access to all TimeSupport services through the TimeSupportManager .
Version:
$Id$
Author:
gvSIG team
  • Field Details

  • Constructor Details

    • TimeSupportLocator

      public TimeSupportLocator()
  • Method Details

    • getInstance

      public static TimeSupportLocator getInstance()
      Return the singleton instance.
      Returns:
      the singleton instance
    • getLocatorName

      public final String getLocatorName()
      Return the Locator's name.
      Specified by:
      getLocatorName in interface org.gvsig.tools.locator.Locator
      Overrides:
      getLocatorName in class org.gvsig.tools.locator.BaseLocator
      Returns:
      a String with the Locator's name
    • getManager

      public static TimeSupportManager getManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to the TimeSupportManager.
      Returns:
      a reference to the TimeSupportManager
      Throws:
      org.gvsig.tools.locator.LocatorException - if there is no access to the class or the class cannot be instantiated
      See Also:
      • Locator.get(String)
    • registerManager

      public static void registerManager(Class<? extends TimeSupportManager> clazz)
      Registers the Class implementing the TimeSupportManager interface.
      Parameters:
      clazz - implementing the TimeSupportManager interface