Class EventDriverFactory
java.lang.Object
org.eclipse.jetty.websocket.common.events.EventDriverFactory
- Direct Known Subclasses:
JsrEventDriverFactory
Create EventDriver implementations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WebSocketContainerScopeprivate final List<EventDriverImpl> private static final org.eclipse.jetty.util.log.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected StringgetClassName(Object websocket) booleantoString()Wrap the given WebSocket object instance in a suitable EventDriver
-
Field Details
-
LOG
private static final org.eclipse.jetty.util.log.Logger LOG -
containerScope
-
implementations
-
-
Constructor Details
-
EventDriverFactory
-
-
Method Details
-
addImplementation
-
clearImplementations
public void clearImplementations() -
getClassName
-
getImplementations
-
removeImplementation
-
toString
-
wrap
Wrap the given WebSocket object instance in a suitable EventDriver- Parameters:
websocket- the websocket instance to wrap. Must either implementWebSocketListeneror be annotated with@WebSocket- Returns:
- appropriate EventDriver for this websocket instance.
-