|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.common.threads.ThreadFactory
Thread factory.
Constructor Summary | |
ThreadFactory(java.lang.ThreadGroup group,
java.lang.String name,
boolean daemon)
Construct a new ThreadFactory |
Method Summary | |
java.lang.Thread |
newThread(java.lang.Runnable command)
Create a new thread that will run the given command when started |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadFactory(java.lang.ThreadGroup group, java.lang.String name, boolean daemon)
ThreadFactory
group
- the thread group. May be null
name
- the name to prefix each thread name withdaemon
- if true
all threads will be daemon threadsMethod Detail |
public java.lang.Thread newThread(java.lang.Runnable command)
newThread
in interface EDU.oswego.cs.dl.util.concurrent.ThreadFactory
command
- the command to run. May be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |