|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.cms.listeners.RequestInQListener
public class RequestInQListener
a listener for every request gets into the request queue.
Here is a list of available $TOKENs for email notification templates:
Field Summary | |
---|---|
protected static java.lang.String |
PROP_EMAIL_SUBJECT
|
static java.lang.String |
PROP_EMAIL_TEMPLATE
|
protected static java.lang.String |
PROP_ENABLED
|
protected static java.lang.String |
PROP_NOTIFY_SUBSTORE
|
protected static java.lang.String |
PROP_RECVR_EMAIL
|
protected static java.lang.String |
PROP_REQ_IN_Q_SUBSTORE
|
protected static java.lang.String |
PROP_SENDER_EMAIL
|
Constructor Summary | |
---|---|
RequestInQListener()
Constructor |
Method Summary | |
---|---|
void |
accept(IRequest r)
carries out the operation when the listener is triggered. |
void |
init(ISubsystem sub,
IConfigStore config)
initializes the listener from the configuration |
void |
set(java.lang.String name,
java.lang.String val)
sets the configurable parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String PROP_ENABLED
protected static final java.lang.String PROP_SENDER_EMAIL
protected static final java.lang.String PROP_RECVR_EMAIL
public static final java.lang.String PROP_EMAIL_TEMPLATE
protected static final java.lang.String PROP_EMAIL_SUBJECT
protected static final java.lang.String PROP_NOTIFY_SUBSTORE
protected static final java.lang.String PROP_REQ_IN_Q_SUBSTORE
Constructor Detail |
---|
public RequestInQListener()
Method Detail |
---|
public void init(ISubsystem sub, IConfigStore config) throws EListenersException, EPropertyNotFound, EBaseException
init
in interface IRequestListener
sub
- subsystemconfig
- configuration store
EListenersException
EPropertyNotFound
EBaseException
public void accept(IRequest r)
accept
in interface IRequestListener
r
- IRequest structure holding the request informationIRequest
public void set(java.lang.String name, java.lang.String val)
set
in interface IRequestListener
name
- a String represents the name of the configuration parameter to be setval
- a String containing the value to be set for name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |