Class CMSExtensionsMap

  • All Implemented Interfaces:
    ISubsystem

    public class CMSExtensionsMap
    extends java.lang.Object
    implements ISubsystem
    Loads extension classes from configuration file and return for a given extension name or OID.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addExt​(com.netscape.certsrv.extensions.ICMSExtension ext)  
      com.netscape.certsrv.extensions.ICMSExtension getByName​(java.lang.String name)
      Get the extension class by name.
      com.netscape.certsrv.extensions.ICMSExtension getByOID​(org.mozilla.jss.netscape.security.util.ObjectIdentifier oid)
      Get the extension class by its OID.
      IConfigStore getConfigStore()
      Get configuration store.
      java.lang.String getId()
      Returns subsystem ID
      static CMSExtensionsMap getInstance()  
      void init​(IConfigStore config)
      Create extensions from configuration store.
      void setId​(java.lang.String Id)
      sets subsystem ID
      void shutdown()
      shutdown - does nothing.
      void startup()
      startup - does nothing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ID

        public static java.lang.String ID
    • Method Detail

      • shutdown

        public void shutdown()
        shutdown - does nothing.
        Specified by:
        shutdown in interface ISubsystem
      • getConfigStore

        public IConfigStore getConfigStore()
        Get configuration store.
        Specified by:
        getConfigStore in interface ISubsystem
        Returns:
        configuration store of this subsystem
      • getId

        public java.lang.String getId()
        Returns subsystem ID
        Specified by:
        getId in interface ISubsystem
        Returns:
        subsystem identifier
      • setId

        public void setId​(java.lang.String Id)
        sets subsystem ID
        Specified by:
        setId in interface ISubsystem
        Parameters:
        Id - subsystem identifier
      • getByName

        public com.netscape.certsrv.extensions.ICMSExtension getByName​(java.lang.String name)
        Get the extension class by name.
        Parameters:
        name - name of the extension
        Returns:
        the extension class.
      • getByOID

        public com.netscape.certsrv.extensions.ICMSExtension 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.