Class CMSExtensionsMap

java.lang.Object
com.netscape.cmscore.extensions.CMSExtensionsMap

public class CMSExtensionsMap extends Object
Loads extension classes from configuration file and return for a given extension name or OID.
  • Field Details

    • ID

      public static String ID
  • Method Details

    • getInstance

      public static final CMSExtensionsMap getInstance()
    • init

      public void init(ConfigStore config) throws EBaseException
      Create extensions from configuration store.
      Parameters:
      config - the configuration store.
      Throws:
      EBaseException
    • addExt

      public void addExt(CMSExtension ext) throws EBaseException
      Throws:
      EBaseException
    • startup

      public void startup() throws EBaseException
      startup - does nothing.
      Throws:
      EBaseException
    • shutdown

      public void shutdown()
      shutdown - does nothing.
    • getConfigStore

      public ConfigStore getConfigStore()
      Get configuration store.
    • getId

      public String getId()
      Returns subsystem ID
    • setId

      public void setId(String Id)
      sets subsystem ID
    • getByName

      public CMSExtension getByName(String name)
      Get the extension class by name.
      Parameters:
      name - name of the extension
      Returns:
      the extension class.
    • getByOID

      public CMSExtension getByOID(org.mozilla.jss.netscape.security.util.ObjectIdentifier oid)
      Get the extension class by its OID.
      Parameters:
      oid - - the OID of the extension.
      Returns:
      the extension class.