@Service @Visibility(value=LOCAL) public class SpringScopeContext extends Object implements Context<SpringScope>
Constructor and Description |
---|
SpringScopeContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(ActiveDescriptor<?> descriptor) |
void |
destroyOne(ActiveDescriptor<?> descriptor) |
<U> U |
findOrCreate(ActiveDescriptor<U> activeDescriptor,
ServiceHandle<?> root) |
Class<? extends Annotation> |
getScope() |
boolean |
isActive() |
void |
shutdown() |
boolean |
supportsNullCreation() |
public Class<? extends Annotation> getScope()
getScope
in interface Context<SpringScope>
public <U> U findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root)
findOrCreate
in interface Context<SpringScope>
public boolean containsKey(ActiveDescriptor<?> descriptor)
containsKey
in interface Context<SpringScope>
public void destroyOne(ActiveDescriptor<?> descriptor)
destroyOne
in interface Context<SpringScope>
public boolean supportsNullCreation()
supportsNullCreation
in interface Context<SpringScope>
public boolean isActive()
isActive
in interface Context<SpringScope>
public void shutdown()
shutdown
in interface Context<SpringScope>
Copyright © 2009–2019 Oracle Corporation. All rights reserved.