Package com.netscape.cmscore.profile
Class ProfileSubsystem
- java.lang.Object
-
- com.netscape.cmscore.profile.AbstractProfileSubsystem
-
- com.netscape.cmscore.profile.ProfileSubsystem
-
- All Implemented Interfaces:
ISubsystem
- Direct Known Subclasses:
LDAPProfileSubsystem
public class ProfileSubsystem extends AbstractProfileSubsystem
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
static org.slf4j.Logger
logger
-
Fields inherited from class com.netscape.cmscore.profile.AbstractProfileSubsystem
mConfig, mProfileClassIds, mProfiles, PROP_CHECK_OWNER, PROP_ENABLE, PROP_ENABLE_BY
-
-
Constructor Summary
Constructors Constructor Description ProfileSubsystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Profile
createProfile(java.lang.String id, java.lang.String classid, java.lang.String className)
Creates a profile instance.void
deleteProfile(java.lang.String id)
void
init(IConfigStore cs)
Initializes this subsystem with the given configuration store.void
shutdown()
Stops this system.void
startup()
Notifies this subsystem if owner is in running mode.-
Methods inherited from class com.netscape.cmscore.profile.AbstractProfileSubsystem
checkOwner, commitConfigStore, commitProfile, disableProfile, enableProfile, getConfigStore, getId, getProfile, getProfileAuthenticator, getProfileClassId, getProfileEnableBy, getProfileIds, isProfileEnable, setId
-
-
-
-
Field Detail
-
logger
public static org.slf4j.Logger logger
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(IConfigStore cs) throws EBaseException
Initializes this subsystem with the given configuration store.- Parameters:
cs
- configuration store- Throws:
EBaseException
- failed to initialize
-
createProfile
public Profile createProfile(java.lang.String id, java.lang.String classid, java.lang.String className) throws com.netscape.certsrv.profile.EProfileException
Creates a profile instance.- Throws:
com.netscape.certsrv.profile.EProfileException
-
deleteProfile
public void deleteProfile(java.lang.String id) throws EBaseException
- Throws:
EBaseException
-
startup
public void startup() throws EBaseException
Notifies this subsystem if owner is in running mode.- Throws:
EBaseException
- failed to start up
-
shutdown
public void shutdown()
Stops this system. The owner may call shutdown anytime after initialization.
-
-