@Service @Singleton public class TenantScopedContext extends java.lang.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) |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope() |
boolean |
isActive() |
void |
shutdown() |
boolean |
supportsNullCreation() |
public java.lang.Class<? extends java.lang.annotation.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 © 2013 Oracle Corporation. All Rights Reserved.