JmDNS 3.4.1

javax.jmdns.impl
Class NameRegister.Factory

java.lang.Object
  extended by javax.jmdns.impl.NameRegister.Factory
Enclosing interface:
NameRegister

public static class NameRegister.Factory
extends Object


Constructor Summary
NameRegister.Factory()
           
 
Method Summary
static NameRegister getRegistry()
          Returns the name register.
static void setRegistry(NameRegister register)
          Register a Name register.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameRegister.Factory

public NameRegister.Factory()
Method Detail

setRegistry

public static void setRegistry(NameRegister register)
                        throws IllegalStateException
Register a Name register.

Parameters:
register - new register
Throws:
IllegalStateException - the register can only be set once

getRegistry

public static NameRegister getRegistry()
Returns the name register.

Returns:
name register

Last updated 2011-08-25 12:40

Copyright © 2002-2011 JmDNS. All Rights Reserved.