Qwylt

java.lang.module.spi
Class ConnectionCoordinator.Default

java.lang.Object
  extended by java.lang.module.spi.ConnectionCoordinator
      extended by java.lang.module.spi.ConnectionCoordinator.Default
Enclosing class:
ConnectionCoordinator

public static class ConnectionCoordinator.Default
extends ConnectionCoordinator

A ConnectionCoordinator that initializes connections on a single private thread to prevent deadlocks due to import cycles.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.module.spi.ConnectionCoordinator
ConnectionCoordinator.Default
 
Constructor Summary
ConnectionCoordinator.Default()
           
 
Method Summary
protected  void start()
          Start this coordinator.
protected  void stop()
          Stop this coordinator.
protected  void submit(ModuleState moduleState)
          Submit the specified state to be driven to either the CONNECTED or FAILED status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionCoordinator.Default

public ConnectionCoordinator.Default()
Method Detail

start

protected void start()
Description copied from class: ConnectionCoordinator
Start this coordinator.

Specified by:
start in class ConnectionCoordinator

stop

protected void stop()
Description copied from class: ConnectionCoordinator
Stop this coordinator.

Specified by:
stop in class ConnectionCoordinator

submit

protected void submit(ModuleState moduleState)
               throws java.lang.InterruptedException
Description copied from class: ConnectionCoordinator
Submit the specified state to be driven to either the CONNECTED or FAILED status.

Specified by:
submit in class ConnectionCoordinator
Parameters:
moduleState - The module state.
Throws:
java.lang.InterruptedException - if interrupted.

Qwylt

Send comments or questions to Bryan Atsatt