Package com.netscape.cmscore.request
Class RequestSubsystem
java.lang.Object
com.netscape.cmscore.request.RequestSubsystem
RequestSubsystem
This class is responsible for managing storage of request objects in the local database.
TODO: review this It provides: + registration of LDAP/JAVA mapping classes with the DBSubsystem + creation of RequestQueue storage in the database + retrieval of existing RequestQueue objects from the database
- Version:
- $Revision$, $Date$
- Author:
- thayes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DBSSession
void
createRequestQueue
(String name) Creates a new request queue.getId()
Implements Subsystem.getIdvoid
init
(ConfigStore config, DBSubsystem dbSubsystem) protected String
makeQueueName
(String name) void
void
shutdown()
void
startup()
Implements Subsystem.startup
-
Field Details
-
logger
public static org.slf4j.Logger logger -
ID
- See Also:
-
-
Constructor Details
-
RequestSubsystem
public RequestSubsystem()
-
-
Method Details
-
createRequestQueue
Creates a new request queue. (Currently unimplemented. Just use getRequestQueue to create an in-memory queue.)- Parameters:
name
- The name of the queue object. This name can be used in getRequestQueue to retrieve the queue later.- Throws:
EBaseException
- failed to create request queue
-
getId
Implements Subsystem.getId- See Also:
-
setId
- Throws:
EBaseException
-
init
-
startup
public void startup()Implements Subsystem.startup- See Also:
-
shutdown
public void shutdown() -
getConfigStore
-
createDBSSession
- Throws:
EBaseException
-
makeQueueName
-