Class NonWorkingServerProvider

java.lang.Object
com.yahoo.jdisc.NoopSharedResource
com.yahoo.jdisc.test.NonWorkingServerProvider
All Implemented Interfaces:
ServerProvider, SharedResource

public final class NonWorkingServerProvider extends NoopSharedResource implements ServerProvider
Author:
Simon Thoresen Hult
  • Constructor Details

    • NonWorkingServerProvider

      public NonWorkingServerProvider()
  • Method Details

    • start

      public void start()
      Description copied from interface: ServerProvider

      This is a synchronous method to configure this ServerProvider and bind the listen port (or equivalent). The Container does not call this method, instead it is a required step in the Application initialization code.

      Specified by:
      start in interface ServerProvider
    • close

      public void close()
      Description copied from interface: ServerProvider

      This is a synchronous method to close the listen port (or equivalent) of this ServerProvider and flush any input buffers that will cause calls to CurrentContainer.newReference(URI). This method must not return until the implementation can guarantee that there will be no further calls to CurrentContainer. All previously dispatched Requests are processed as before.

      The Container does not call this method, instead it is a required step in the Application shutdown code.

      Specified by:
      close in interface ServerProvider