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 TypeMethodDescriptionvoidcarries out the operation when the listener is triggered.voidinit(ISubsystem sub, IConfigStore config) initializes the listener from the configurationvoidsets 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:
initin interfaceIRequestListener- Parameters:
sub- subsystemconfig- configuration store- Throws:
EListenersExceptionEPropertyNotFoundEBaseException
-
accept
carries out the operation when the listener is triggered.- Specified by:
acceptin interfaceIRequestListener- Parameters:
r- IRequest structure holding the request information- See Also:
-
set
sets the configurable parameters- Specified by:
setin 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
-