public class AnnotatedEndpointFactory extends Object implements InstanceFactory<javax.websocket.Endpoint>
Modifier and Type | Method and Description |
---|---|
static AnnotatedEndpointFactory |
create(Class<?> endpointClass,
InstanceFactory<?> underlyingInstance,
EncodingFactory encodingFactory) |
InstanceHandle<javax.websocket.Endpoint> |
createInstance()
Factory that creates a fully injected instance.
|
javax.websocket.Endpoint |
createInstanceForExisting(Object instance) |
public static AnnotatedEndpointFactory create(Class<?> endpointClass, InstanceFactory<?> underlyingInstance, EncodingFactory encodingFactory) throws javax.websocket.DeploymentException
javax.websocket.DeploymentException
public InstanceHandle<javax.websocket.Endpoint> createInstance() throws InstantiationException
InstanceFactory
createInstance
in interface InstanceFactory<javax.websocket.Endpoint>
InstantiationException
public javax.websocket.Endpoint createInstanceForExisting(Object instance)
Copyright © 2013 JBoss by Red Hat. All rights reserved.