@Jsr250Singleton public final class ConcurrentSingleton extends Object
| Constructor and Description |
|---|
ConcurrentSingleton(long expirationDelay,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
initFuture(com.google.inject.Injector injector) |
<T> com.google.inject.Provider<T> |
scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> unscoped) |
void |
shutdown() |
String |
toString() |
public ConcurrentSingleton(long expirationDelay,
TimeUnit unit)
@Inject public void initFuture(com.google.inject.Injector injector)
@PreDestroy public void shutdown()
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> unscoped)
Copyright © 2010-2012 Mycila. All Rights Reserved.