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