Package org.refcodes.net
Class PortManagerSingleton
- java.lang.Object
-
- org.refcodes.net.PortManagerImpl
-
- org.refcodes.net.PortManagerSingleton
-
- All Implemented Interfaces:
PortManager
public class PortManagerSingleton extends PortManagerImpl
The singleton of thePortManagerImplfor system wide part management.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPortManagerSingleton()Instantiates a new port manager singleton.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortManagergetInstance()Returns the singleton's instance as fabricated by thisPortManagerSingleton.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.refcodes.net.PortManager
bindNextPort, bindNextPort
-
Methods inherited from class org.refcodes.net.PortManagerImpl
bindAnyPort, bindNextPort, bindPort, isPortAvaialble, isPortBound, unbindPort
-
-
-
-
Method Detail
-
getInstance
public static PortManager getInstance()
Returns the singleton's instance as fabricated by thisPortManagerSingleton.- Returns:
- The
PortManagerImplsingleton's instance.
-
-