insensa.extensions
Class ExtensionManager
java.lang.Object
insensa.extensions.ExtensionManager
public class ExtensionManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileServices
private ServiceList fileServices
connectionServices
private java.util.Map<java.lang.String,ServiceList> connectionServices
infoReaderServices
private java.util.Map<java.lang.String,ServiceList> infoReaderServices
optionServices
private java.util.Map<java.lang.String,ServiceList> optionServices
exportFilesServices
private java.util.Map<java.lang.String,ServiceList> exportFilesServices
importFilesServices
private java.util.Map<java.lang.String,ServiceList> importFilesServices
menuExtensions
private java.util.Map<java.lang.String,MenuExtension> menuExtensions
actionExtensions
private java.util.Map<java.lang.String,ActionExtension> actionExtensions
helpList
private java.util.List<ServiceHelp> helpList
urlCL
private java.net.URLClassLoader urlCL
separator
private java.lang.String separator
instance
private static ExtensionManager instance
ExtensionManager
private ExtensionManager(java.lang.String filename)
- Parameters:
filename
-
getInstance
public static ExtensionManager getInstance()
- Returns:
getConnectionServices
public java.util.Map<java.lang.String,ServiceList> getConnectionServices()
- Returns:
getFileExporterServices
public java.util.Map<java.lang.String,ServiceList> getFileExporterServices()
- Returns:
getFileImporterServices
public java.util.Map<java.lang.String,ServiceList> getFileImporterServices()
getFileServices
public ServiceList getFileServices()
- Returns:
getHelpList
public java.util.List<ServiceHelp> getHelpList()
- Returns:
getInfoReaderServices
public java.util.Map<java.lang.String,ServiceList> getInfoReaderServices()
- Returns:
getOptionServices
public java.util.Map<java.lang.String,ServiceList> getOptionServices()
- Returns:
getMenuExtensions
public java.util.Map<java.lang.String,MenuExtension> getMenuExtensions()
- Returns:
- the menuItemServices
getActionExtensions
public java.util.Map<java.lang.String,ActionExtension> getActionExtensions()
- Returns:
- the actionExtensions
getUrlCL
public java.net.URLClassLoader getUrlCL()
- Returns:
readHelp
private void readHelp(org.jdom.Element parentHelpElement,
ServiceHelp parentHelp)
throws java.io.IOException
- Read help content.
- Parameters:
parentHelpElement
- parentHelp
-
- Throws:
java.io.IOException
readPluginFolder
private void readPluginFolder()
throws java.io.IOException,
org.jdom.JDOMException
- Throws:
java.io.IOException
org.jdom.JDOMException
readXmlConfig
private void readXmlConfig(org.jdom.Element rootDoc)
throws java.io.IOException
- Parameters:
rootDoc
-
- Throws:
java.io.IOException