org.eclipse.higgins.configuration.xml
Class PrivateKeyHandler

java.lang.Object
  extended byorg.eclipse.higgins.configuration.xml.MapHandler
      extended byorg.eclipse.higgins.configuration.xml.PrivateKeyHandler
All Implemented Interfaces:
ISettingHandler

public class PrivateKeyHandler
extends MapHandler

PrivateKey setting is map that contains keystore name, alias, and password. Gets keystore from mapSettings, then looks up key by its alias. Returns key.

Author:
mikemci

Constructor Summary
PrivateKeyHandler()
           
 
Method Summary
 Object getSetting(String strName, String strConfigurationBase, Map mapSettingHandlers, Map mapSettingsGlobal, Object settingsParent, org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor, org.eclipse.higgins.configuration.api.ISettingDescriptor settingDescriptor, org.apache.axiom.om.OMElement omSetting)
          Method to convert XML element (omSetting) to an object that will be placed into a configuration map.
 
Methods inherited from class org.eclipse.higgins.configuration.xml.MapHandler
getGlobalDescriptor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateKeyHandler

public PrivateKeyHandler()
Method Detail

getSetting

public Object getSetting(String strName,
                         String strConfigurationBase,
                         Map mapSettingHandlers,
                         Map mapSettingsGlobal,
                         Object settingsParent,
                         org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor,
                         org.eclipse.higgins.configuration.api.ISettingDescriptor settingDescriptor,
                         org.apache.axiom.om.OMElement omSetting)
                  throws Exception
Description copied from interface: ISettingHandler
Method to convert XML element (omSetting) to an object that will be placed into a configuration map. The type of the returned object is implicitly determined by the class implementing the ISettingHandler interface.

Specified by:
getSetting in interface ISettingHandler
Overrides:
getSetting in class MapHandler
Throws:
Exception