|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.certsrv.request.ARequestNotifier
public class ARequestNotifier
The ARequestNotifier class implements the IRequestNotifier interface, which notifies all registered request listeners.
| Constructor Summary | |
|---|---|
ARequestNotifier()
|
|
ARequestNotifier(ICertificateAuthority ca,
boolean isPublishingQueueEnabled,
int publishingQueuePriorityLevel,
int maxNumberOfPublishingThreads,
int publishingQueuePageSize)
|
|
| Method Summary | |
|---|---|
void |
addToNotify(IRequest r)
Notifies all registered listeners about request. |
IRequestListener |
getListener(java.lang.String name)
Gets listener from the list of registered listeners. |
java.util.Enumeration |
getListenerNames()
Gets list of listener names. |
java.util.Enumeration |
getListeners()
Gets list of listeners. |
int |
getNumberOfRequests()
Gets number of requests in publishing queue. |
IRequest |
getRequest()
Gets request from publishing queue. |
boolean |
isPublishingQueueEnabled()
Checks if publishing queue is enabled. |
void |
notify(IRequest r)
Notifies all registered listeners about request. |
void |
registerListener(IRequestListener listener)
Registers a request listener. |
void |
registerListener(java.lang.String name,
IRequestListener listener)
Registers a request listener. |
void |
removeListener(IRequestListener listener)
Removes listener from the list of registered listeners. |
void |
removeListener(java.lang.String name)
Removes listener from the list of registered listeners. |
void |
removeNotifierThread(java.lang.Thread notifierThread)
Removes a notifier thread from the pool of publishing queue threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ARequestNotifier()
public ARequestNotifier(ICertificateAuthority ca,
boolean isPublishingQueueEnabled,
int publishingQueuePriorityLevel,
int maxNumberOfPublishingThreads,
int publishingQueuePageSize)
| Method Detail |
|---|
public void registerListener(IRequestListener listener)
registerListener in interface IRequestNotifierlistener - listener to be registered
public void registerListener(java.lang.String name,
IRequestListener listener)
registerListener in interface IRequestNotifiername - listener namelistener - listener to be registeredpublic void removeListener(IRequestListener listener)
removeListener in interface IRequestNotifierlistener - listener to be removed from the listpublic java.util.Enumeration getListenerNames()
getListenerNames in interface IRequestNotifierpublic void removeListener(java.lang.String name)
removeListener in interface IRequestNotifiername - listener name to be removed from the listpublic IRequestListener getListener(java.lang.String name)
getListener in interface IRequestNotifiername - listener name
public java.util.Enumeration getListeners()
getListeners in interface IRequestNotifierpublic IRequest getRequest()
getRequest in interface IRequestNotifierpublic int getNumberOfRequests()
getNumberOfRequests in interface IRequestNotifierpublic boolean isPublishingQueueEnabled()
isPublishingQueueEnabled in interface IRequestNotifierpublic void removeNotifierThread(java.lang.Thread notifierThread)
removeNotifierThread in interface IRequestNotifiernotifierThread - Threadpublic void notify(IRequest r)
notify in interface INotifyr - requestpublic void addToNotify(IRequest r)
addToNotify in interface IRequestNotifierr - request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||