public class PortableViewLocator extends BaseLocator
PortableViewManager
.Modifier and Type | Field and Description |
---|---|
static String |
FILESERVICES_DESCRIPTION
PortableView file services manager description.
|
static String |
FILESERVICES_NAME
PortableView file services name.
|
static String |
MANAGER_DESCRIPTION
PortableView manager description.
|
static String |
MANAGER_NAME
PortableView manager name.
|
Constructor and Description |
---|
PortableViewLocator() |
Modifier and Type | Method and Description |
---|---|
static PortableViewFileServices |
getFileServices()
Return a reference to the PortableViewFileServices.
|
static PortableViewLocator |
getInstance()
Return the singleton instance.
|
String |
getLocatorName()
Return the Locator's name.
|
static PortableViewManager |
getManager()
Return a reference to the PortableViewManager.
|
static void |
registerFileServices(Class<? extends PortableViewFileServices> clazz)
Registers the Class implementing the PortableViewFileServices interface.
|
static void |
registerManager(Class<? extends PortableViewManager> clazz)
Registers the Class implementing the PortableViewManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String MANAGER_NAME
public static final String MANAGER_DESCRIPTION
public static final String FILESERVICES_NAME
public static final String FILESERVICES_DESCRIPTION
public static PortableViewLocator getInstance()
public final String getLocatorName()
getLocatorName
in interface Locator
getLocatorName
in class BaseLocator
public static PortableViewManager getManager() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerManager(Class<? extends PortableViewManager> clazz)
clazz
- implementing the PortableViewManager interfacepublic static PortableViewFileServices getFileServices() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerFileServices(Class<? extends PortableViewFileServices> clazz)
clazz
- implementing the PortableViewFileServices interface