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 Request
s.
DEBUG, SYSTEM_PROPERTY_NAME_DEBUG
Modifier | Constructor and Description |
---|---|
protected |
AbstractServerProvider(CurrentContainer container) |
Modifier and Type | Method and Description |
---|---|
CurrentContainer |
container() |
currentState, destroy, refer, release, retainCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, start
refer, release
@Inject protected AbstractServerProvider(CurrentContainer container)
public final CurrentContainer container()
Copyright © 2018. All rights reserved.