public class ReloadableScope extends Object implements org.springframework.beans.factory.config.Scope
Scope that directs bean requests into a managed ApplicationContext.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
private ReloadableService<org.springframework.context.ApplicationContext> |
reloadableService
Managed context service wrapper.
|
static String |
SCOPE_RELOADABLE
Scope indicating reloadability.
|
| Constructor and Description |
|---|
ReloadableScope(ReloadableService<org.springframework.context.ApplicationContext> service)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory<?> objectFactory) |
String |
getConversationId() |
void |
registerDestructionCallback(String name,
Runnable callback) |
Object |
remove(String name) |
Object |
resolveContextualObject(String key) |
@Nonnull @NotEmpty public static final String SCOPE_RELOADABLE
@Nonnull private final org.slf4j.Logger log
@Nonnull private final ReloadableService<org.springframework.context.ApplicationContext> reloadableService
public ReloadableScope(@Nonnull @ParameterName(name="service") ReloadableService<org.springframework.context.ApplicationContext> service)
service - instance of Spring context to wrappublic Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
get in interface org.springframework.beans.factory.config.Scopepublic Object remove(String name)
remove in interface org.springframework.beans.factory.config.Scopepublic void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback in interface org.springframework.beans.factory.config.Scopepublic Object resolveContextualObject(String key)
resolveContextualObject in interface org.springframework.beans.factory.config.Scopepublic String getConversationId()
getConversationId in interface org.springframework.beans.factory.config.ScopeCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.