org.semispace.admin
Class DaemonDelegateFactory

java.lang.Object
  extended by org.semispace.admin.DaemonDelegateFactory
All Implemented Interfaces:
ThreadFactory

public final class DaemonDelegateFactory
extends Object
implements ThreadFactory

A simple class which just wraps a thread factory in a manner which makes all threads it creates become daemon threads.


Constructor Summary
DaemonDelegateFactory(ThreadFactory threadFactory)
           
 
Method Summary
 Thread newThread(Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonDelegateFactory

public DaemonDelegateFactory(ThreadFactory threadFactory)
Method Detail

newThread

public Thread newThread(Runnable r)
Specified by:
newThread in interface ThreadFactory


Copyright © 2008-2012. All Rights Reserved.