Package com.netscape.cmscore.extensions
Class CMSExtensionsMap
java.lang.Object
com.netscape.cmscore.extensions.CMSExtensionsMap
Loads extension classes from configuration file and return
for a given extension name or OID.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExt
(CMSExtension ext) Get the extension class by name.getByOID
(org.mozilla.jss.netscape.security.util.ObjectIdentifier oid) Get the extension class by its OID.Get configuration store.getId()
Returns subsystem IDvoid
init
(ConfigStore config) Create extensions from configuration store.void
sets subsystem IDvoid
shutdown()
shutdown - does nothing.void
startup()
startup - does nothing.
-
Field Details
-
ID
-
-
Constructor Details
-
CMSExtensionsMap
public CMSExtensionsMap()
-
-
Method Details
-
init
Create extensions from configuration store.- Parameters:
config
- the configuration store.- Throws:
EBaseException
-
addExt
- Throws:
EBaseException
-
startup
startup - does nothing.- Throws:
EBaseException
-
shutdown
public void shutdown()shutdown - does nothing. -
getConfigStore
Get configuration store. -
getId
Returns subsystem ID -
setId
sets subsystem ID -
getByName
Get the extension class by name.- Parameters:
name
- name of the extension- Returns:
- the extension class.
-
getByOID
Get the extension class by its OID.- Parameters:
oid
- - the OID of the extension.- Returns:
- the extension class.
-