public class DependentScope extends ScopeCacheSupport.Base implements org.osgl.inject.ScopeCache, ScopeCacheSupport
org.osgl.inject.ScopeCache.RequestScope, org.osgl.inject.ScopeCache.SessionScope, org.osgl.inject.ScopeCache.SingletonScope
ScopeCacheSupport.Base
Modifier and Type | Field and Description |
---|---|
static DependentScope |
INSTANCE |
Constructor and Description |
---|
DependentScope() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(org.osgl.inject.BeanSpec target) |
<T> T |
get(java.lang.String key) |
<T> void |
put(org.osgl.inject.BeanSpec target,
T t) |
<T> void |
put(java.lang.String key,
T t) |
key
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
key
public static final DependentScope INSTANCE
public <T> T get(org.osgl.inject.BeanSpec target)
get
in interface org.osgl.inject.ScopeCache
public <T> T get(java.lang.String key)
get
in interface ScopeCacheSupport
public <T> void put(org.osgl.inject.BeanSpec target, T t)
put
in interface org.osgl.inject.ScopeCache
public <T> void put(java.lang.String key, T t)
put
in interface ScopeCacheSupport
Copyright © 2014–2017 ActFramework. All rights reserved.