Class AbstractServerProvider

java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.service.AbstractServerProvider
All Implemented Interfaces:
ServerProvider, SharedResource

public abstract class AbstractServerProvider extends AbstractResource implements ServerProvider

This is a convenient parent class for ServerProvider with default implementations for all but the essential ServerProvider.start() and ServerProvider.close() methods. It requires that the CurrentContainer is injected in the constructor, since that interface is needed to dispatch Requests.

Author:
Simon Thoresen Hult
  • Constructor Details

    • AbstractServerProvider

      @Inject protected AbstractServerProvider(CurrentContainer container)
  • Method Details