Package org.frankframework.core
Interface SharedResource<T>
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.beans.factory.Aware
,ConfigurableLifecycle
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
HttpSession
public interface SharedResource<T>
extends IConfigurable, ConfigurableLifecycle, org.springframework.context.Phased
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getPhase()
By default give this the lowest Phase, so it's started first and stopped last.Retrieve the shared resource soCanUseSharedResource
holders can use itMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
configure, isAutoStartup
Methods inherited from interface org.frankframework.core.IConfigurable
configure
Methods inherited from interface org.frankframework.core.IConfigurationAware
getApplicationContext, getName
Methods inherited from interface org.frankframework.core.INamedObject
getName, setName
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Field Details
-
SHARED_RESOURCE_PREFIX
- See Also:
-
-
Method Details
-
getPhase
default int getPhase()By default give this the lowest Phase, so it's started first and stopped last.- Specified by:
getPhase
in interfaceConfigurableLifecycle
- Specified by:
getPhase
in interfaceorg.springframework.context.Phased
- Specified by:
getPhase
in interfaceorg.springframework.context.SmartLifecycle