Package org.frankframework.core
Interface SharedResource<T>
- All Superinterfaces:
ConfigurableLifecycle
,HasName
,IConfigurable
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
HttpSession
public interface SharedResource<T>
extends ConfigurableLifecycle, HasName, 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.frankframework.lifecycle.ConfigurableLifecycle
isAutoStartup
Methods inherited from interface org.frankframework.core.IConfigurable
configure
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