|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.service.ServiceThreadListener
public class ServiceThreadListener
A ThreadListener
that notifies child listeners of thread events..
Constructor Summary | |
---|---|
ServiceThreadListener()
|
Method Summary | |
---|---|
void |
addThreadListener(org.exolab.jms.common.threads.ThreadListener listener)
Add a listener. |
void |
begin(java.lang.Runnable command)
Invoked when a command is to be executed. |
void |
end(java.lang.Runnable command)
Invoked when a command completes execution. |
void |
removeThreadListener(org.exolab.jms.common.threads.ThreadListener listener)
Remove a listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceThreadListener()
Method Detail |
---|
public void addThreadListener(org.exolab.jms.common.threads.ThreadListener listener)
listener
- the listener to addpublic void removeThreadListener(org.exolab.jms.common.threads.ThreadListener listener)
listener
- the listener tp removepublic void begin(java.lang.Runnable command)
begin
in interface org.exolab.jms.common.threads.ThreadListener
command
- the commandpublic void end(java.lang.Runnable command)
end
in interface org.exolab.jms.common.threads.ThreadListener
command
- the command.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |