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.StringIDstatic org.slf4j.Loggerlogger-
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 ProfilecreateProfile(java.lang.String id, java.lang.String classid, java.lang.String className)Creates a profile instance.voiddeleteProfile(java.lang.String id)voidinit(IConfigStore cs)Initializes this subsystem with the given configuration store.voidshutdown()Stops this system.voidstartup()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 EProfileException
Creates a profile instance.- Throws:
EProfileException
-
deleteProfile
public void deleteProfile(java.lang.String id) throws EBaseException- Throws:
EBaseException
-
startup
public void startup() throws EBaseExceptionNotifies 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.
-
-