insensa.extensions
Class ExtensionManager

java.lang.Object
  extended by insensa.extensions.ExtensionManager

public class ExtensionManager
extends java.lang.Object


Field Summary
private  java.util.Map<java.lang.String,ActionExtension> actionExtensions
           
private  java.util.Map<java.lang.String,ServiceList> connectionServices
           
private  java.util.Map<java.lang.String,ServiceList> exportFilesServices
           
private  ServiceList fileServices
           
private  java.util.List<ServiceHelp> helpList
           
private  java.util.Map<java.lang.String,ServiceList> importFilesServices
           
private  java.util.Map<java.lang.String,ServiceList> infoReaderServices
           
private static ExtensionManager instance
           
private  java.util.Map<java.lang.String,MenuExtension> menuExtensions
           
private  java.util.Map<java.lang.String,ServiceList> optionServices
           
private  java.lang.String separator
           
private  java.net.URLClassLoader urlCL
           
 
Constructor Summary
private ExtensionManager(java.lang.String filename)
           
 
Method Summary
 java.util.Map<java.lang.String,ActionExtension> getActionExtensions()
           
 java.util.Map<java.lang.String,ServiceList> getConnectionServices()
           
 java.util.Map<java.lang.String,ServiceList> getFileExporterServices()
           
 java.util.Map<java.lang.String,ServiceList> getFileImporterServices()
           
 ServiceList getFileServices()
           
 java.util.List<ServiceHelp> getHelpList()
           
 java.util.Map<java.lang.String,ServiceList> getInfoReaderServices()
           
static ExtensionManager getInstance()
           
 java.util.Map<java.lang.String,MenuExtension> getMenuExtensions()
           
 java.util.Map<java.lang.String,ServiceList> getOptionServices()
           
 java.net.URLClassLoader getUrlCL()
           
private  void readHelp(org.jdom.Element parentHelpElement, ServiceHelp parentHelp)
          Read help content.
private  void readPluginFolder()
           
private  void readXmlConfig(org.jdom.Element rootDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ExtensionManager

private ExtensionManager(java.lang.String filename)
Parameters:
filename -
Method Detail

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