| Package | Description |
|---|---|
| xapi.inject |
| Modifier and Type | Class and Description |
|---|---|
class |
X_Inject
A static accessor class for in an instance of
Injector. |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
X_Inject.instance(Class<? super T> cls) |
static <T> T |
X_Inject.singleton(Class<? super T> cls)
Returns an injected singleton service implementation object.
|
static <T> void |
X_Inject.singletonAsync(Class<? super T> cls,
Class<? extends ReceivesValue<T>> callback) |
static <T> void |
X_Inject.singletonAsync(Class<? super T> cls,
ReceivesValue<T> callback)
Asynchronously loads an injected singleton service implementation object.
|
static <T> javax.inject.Provider<T> |
X_Inject.singletonLazy(Class<? super T> cls)
This is a magic method, like gwt.create.
|
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.