Class RequestInQListener
java.lang.Object
com.netscape.certsrv.request.RequestListener
com.netscape.cms.listeners.RequestInQListener
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
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Loggerprotected ConfigStoreprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class RequestListener
engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcarries out the operation when the listener is triggered.protected Objectprotected Objectvoidinit(Subsystem sub, ConfigStore config) initializes the listener from the configurationvoidsets the configurable parametersMethods inherited from class RequestListener
getCMSEngine, init, setCMSEngine
-
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:
-
mConfig
-
-
Constructor Details
-
RequestInQListener
public RequestInQListener()Constructor
-
-
Method Details
-
init
initializes the listener from the configuration- Specified by:
initin classRequestListener- Parameters:
sub- subsystemconfig- configuration store- Throws:
EBaseException
-
accept
carries out the operation when the listener is triggered.- Specified by:
acceptin classRequestListener- Parameters:
r- Request structure holding the request information- See Also:
-
getRequestorEmail
-
getCertType
-
set
sets the configurable parameters- Specified by:
setin classRequestListener- Parameters:
name- a String represents the name of the configuration parameter to be setval- a String containing the value to be set for name
-