Package org.gvsig.export
Class ExportLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.export.ExportLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class ExportLocator
extends org.gvsig.tools.locator.BaseLocator
This locator is the entry point for the Exportto library, providing
access to all Exportto services through the
ExportManager .- Version:
- $Id$
- Author:
- gvSIG team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportLocatorReturn the singleton instance.final StringReturn the Locator's name.static ExportManagerReturn a reference to the ExportManager.static ExportServiceManagerReturn a reference to the ExportServiceMnager.static voidregisterManager(Class<? extends ExportManager> clazz) Registers the Class implementing the ExportManager interface.static voidregisterServiceManager(Class<? extends ExportServiceManager> clazz) Registers the Class implementing the ExportServiceManager interface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
MANAGER_NAME
- See Also:
-
MANAGER_DESCRIPTION
- See Also:
-
ENTRIES_MANAGER_NAME
- See Also:
-
ENTRIES_MANAGER_DESCRIPTION
- See Also:
-
SERVICE_MANAGER_NAME
- See Also:
-
SERVICE_MANAGER_DESCRIPTION
- See Also:
-
-
Constructor Details
-
ExportLocator
public ExportLocator()
-
-
Method Details
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
getLocatorName
Return the Locator's name.- Specified by:
getLocatorNamein interfaceorg.gvsig.tools.locator.Locator- Overrides:
getLocatorNamein classorg.gvsig.tools.locator.BaseLocator- Returns:
- a String with the Locator's name
-
getManager
Return a reference to the ExportManager.- Returns:
- a reference to the ExportManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
registerManager
Registers the Class implementing the ExportManager interface.- Parameters:
clazz- implementing the ExportManager interface
-
getServiceManager
public static ExportServiceManager getServiceManager() throws org.gvsig.tools.locator.LocatorExceptionReturn a reference to the ExportServiceMnager.- Returns:
- a reference to the ExportServiceMnager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
registerServiceManager
Registers the Class implementing the ExportServiceManager interface.- Parameters:
clazz- implementing the ExportServiceManager interface
-