@Service @Singleton public class TenantScopedContext extends Object implements Context<TenantScoped>
| Constructor and Description |
|---|
TenantScopedContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(ActiveDescriptor<?> descriptor) |
void |
destroyOne(ActiveDescriptor<?> descriptor) |
<T> T |
findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root) |
Class<? extends Annotation> |
getScope() |
boolean |
isActive() |
void |
shutdown() |
boolean |
supportsNullCreation() |
public Class<? extends Annotation> getScope()
getScope in interface Context<TenantScoped>public <T> T findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
findOrCreate in interface Context<TenantScoped>public boolean containsKey(ActiveDescriptor<?> descriptor)
containsKey in interface Context<TenantScoped>public boolean isActive()
isActive in interface Context<TenantScoped>public void shutdown()
shutdown in interface Context<TenantScoped>public boolean supportsNullCreation()
supportsNullCreation in interface Context<TenantScoped>public void destroyOne(ActiveDescriptor<?> descriptor)
destroyOne in interface Context<TenantScoped>Copyright © 2009-2013 Oracle Corporation. All Rights Reserved.