Classes | |
interface | ClassDelegate |
Public Member Functions | |
DNSTaskStarter | getStarter (JmDNSImpl jmDNSImpl) |
Static Public Member Functions | |
static Factory.ClassDelegate | classDelegate () |
static Factory | getInstance () |
static void | setClassDelegate (Factory.ClassDelegate delegate) |
Static Protected Member Functions | |
static DNSTaskStarter | newDNSTaskStarter (JmDNSImpl jmDNSImpl) |
Private Member Functions | |
Factory () | |
Private Attributes | |
final ConcurrentMap< JmDNSImpl, DNSTaskStarter > | _instances |
Static Private Attributes | |
static final AtomicReference < Factory.ClassDelegate > | _databaseClassDelegate = new AtomicReference<Factory.ClassDelegate>() |
static volatile Factory | _instance |
DNSTaskStarter.Factory enable the creation of new instance of DNSTaskStarter.
Definition at line 36 of file DNSTaskStarter.java.
javax.jmdns.impl.DNSTaskStarter.Factory.Factory | ( | ) | [inline, private] |
Definition at line 60 of file DNSTaskStarter.java.
static Factory.ClassDelegate javax.jmdns.impl.DNSTaskStarter.Factory.classDelegate | ( | ) | [inline, static] |
Returns DNSTaskStarter's class delegate.
Definition at line 84 of file DNSTaskStarter.java.
static Factory javax.jmdns.impl.DNSTaskStarter.Factory.getInstance | ( | ) | [inline, static] |
Return the instance of the DNSTaskStarter Factory.
Definition at line 109 of file DNSTaskStarter.java.
DNSTaskStarter javax.jmdns.impl.DNSTaskStarter.Factory.getStarter | ( | JmDNSImpl | jmDNSImpl | ) | [inline] |
Return the instance of the DNSTaskStarter for the JmDNS.
jmDNSImpl | jmDNS instance |
Definition at line 127 of file DNSTaskStarter.java.
static DNSTaskStarter javax.jmdns.impl.DNSTaskStarter.Factory.newDNSTaskStarter | ( | JmDNSImpl | jmDNSImpl | ) | [inline, static, protected] |
Returns a new instance of DNSTaskStarter using the class delegate if it exists.
jmDNSImpl | jmDNS instance |
Definition at line 95 of file DNSTaskStarter.java.
static void javax.jmdns.impl.DNSTaskStarter.Factory.setClassDelegate | ( | Factory.ClassDelegate | delegate | ) | [inline, static] |
Assigns delegate
as DNSTaskStarter's class delegate. The class delegate is optional.
delegate | The object to set as DNSTaskStarter's class delegate. |
Definition at line 73 of file DNSTaskStarter.java.
final AtomicReference<Factory.ClassDelegate> javax.jmdns.impl.DNSTaskStarter.Factory._databaseClassDelegate = new AtomicReference<Factory.ClassDelegate>() [static, private] |
Definition at line 58 of file DNSTaskStarter.java.
volatile Factory javax.jmdns.impl.DNSTaskStarter.Factory._instance [static, private] |
Definition at line 38 of file DNSTaskStarter.java.
final ConcurrentMap<JmDNSImpl, DNSTaskStarter> javax.jmdns.impl.DNSTaskStarter.Factory._instances [private] |
Definition at line 39 of file DNSTaskStarter.java.