| Modifier and Type | Method and Description |
|---|---|
ServiceKey<T> |
ServiceKey.Builder.build() |
static <U> ServiceKey<U> |
ServiceKey.of(Class<U> clazz) |
static <U> ServiceKey<U> |
ServiceKey.of(Class<U> clazz,
Class<? extends Annotation> quality) |
static <U> ServiceKey<U> |
ServiceKey.of(Class<U> clazz,
String named) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ServiceDirectory.getInstance(ServiceKey<T> serviceKey) |
<T> T |
ServiceDirectory.getOrCreateInstance(ServiceKey<T> serviceKey)
Get a service instance, or create an unmanaged one if no service is registered.
|
<T> T |
ServiceDirectory.locate(ServiceKey<T> serviceKey)
Locate a service identified by the key.
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocketServiceServerConf |
WebSocketServerBuilder.of(ServiceKey<?> endpointService)
Websocket service defined using standard javax.websocket.* annotations.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceKey<?> |
WebSocketServiceServerConf.getEndpointService() |
| Constructor and Description |
|---|
WebSocketServiceServerConf(ServiceKey<?> endpointService) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
AppImpl.getInstance(ServiceKey<T> serviceKey) |
<T> T |
AppImpl.getOrCreateInstance(ServiceKey<T> serviceKey) |
<T> T |
AppImpl.locate(ServiceKey<T> serviceKey) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceKeyImpl<T>
Created by epoitras on 3/15/15.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceKey<T> |
ServiceKeyBuilderImpl.build() |
| Constructor and Description |
|---|
WebSocketInjectorConfigurator(ServiceDirectory directory,
javax.websocket.server.ServerEndpointConfig.Configurator delegate,
ServiceKey<?> serviceKey) |
Copyright © 2016. All rights reserved.