Package | Description |
---|---|
org.glassfish.tyrus.core |
Modifier and Type | Method and Description |
---|---|
static AnnotatedEndpoint |
AnnotatedEndpoint.fromClass(Class<?> annotatedClass,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
ErrorCollector collector)
Create
AnnotatedEndpoint from class. |
static AnnotatedEndpoint |
AnnotatedEndpoint.fromInstance(Object annotatedInstance,
ComponentProviderService componentProvider,
boolean isServerEndpoint,
ErrorCollector collector)
Create
AnnotatedEndpoint from instance. |
<T> Object |
ComponentProviderService.getCoderInstance(Class<T> c,
Session session,
EndpointConfig endpointConfig,
ErrorCollector collector)
|
static <T> T |
ReflectionHelper.getInstance(Class<T> c,
ErrorCollector collector)
Creates an instance of
Class c using Class.newInstance() . |
<T> Object |
ComponentProviderService.getInstance(Class<T> c,
Session session,
ErrorCollector collector)
Provide an instance of class which is coupled to
Session . |
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.