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 WebSocketContainerScope
private final List
<EventDriverImpl> private static final org.eclipse.jetty.util.log.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected String
getClassName
(Object websocket) boolean
toString()
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 implementWebSocketListener
or be annotated with@WebSocket
- Returns:
- appropriate EventDriver for this websocket instance.
-