Class RequestSubsystem


  • public class RequestSubsystem
    extends java.lang.Object
    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 Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • RequestSubsystem

        public RequestSubsystem()
    • Method Detail

      • createRequestQueue

        public void createRequestQueue​(java.lang.String name)
                                throws EBaseException
        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

        public java.lang.String getId()
        Implements ISubsystem.getId

        See Also:
        ISubsystem.getId()
      • shutdown

        public void shutdown()
      • makeQueueName

        protected java.lang.String makeQueueName​(java.lang.String name)