Package com.netscape.cms.listeners
Class RequestInQListener
java.lang.Object
com.netscape.cms.listeners.RequestInQListener
- All Implemented Interfaces:
IRequestListener
a listener for every request gets into the request queue.
Here is a list of available $TOKENs for email notification templates:
- $RequestorEmail
- $CertType
- $RequestType
- $RequestId
- $HttpHost
- $HttpPort
- $SenderEmail
- $RecipientEmail
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
carries out the operation when the listener is triggered.void
init
(ISubsystem sub, IConfigStore config) initializes the listener from the configurationvoid
sets the configurable parameters
-
Field Details
-
logger
public static org.slf4j.Logger logger -
PROP_ENABLED
- See Also:
-
PROP_SENDER_EMAIL
- See Also:
-
PROP_RECVR_EMAIL
- See Also:
-
PROP_EMAIL_TEMPLATE
- See Also:
-
PROP_EMAIL_SUBJECT
- See Also:
-
PROP_NOTIFY_SUBSTORE
- See Also:
-
PROP_REQ_IN_Q_SUBSTORE
- See Also:
-
-
Constructor Details
-
RequestInQListener
public RequestInQListener()Constructor
-
-
Method Details
-
init
public void init(ISubsystem sub, IConfigStore config) throws EListenersException, EPropertyNotFound, EBaseException initializes the listener from the configuration- Specified by:
init
in interfaceIRequestListener
- Parameters:
sub
- subsystemconfig
- configuration store- Throws:
EListenersException
EPropertyNotFound
EBaseException
-
accept
carries out the operation when the listener is triggered.- Specified by:
accept
in interfaceIRequestListener
- Parameters:
r
- IRequest structure holding the request information- See Also:
-
set
sets the configurable parameters- Specified by:
set
in interfaceIRequestListener
- Parameters:
name
- a String represents the name of the configuration parameter to be setval
- a String containing the value to be set for name
-