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
FieldsFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetPhase()By default give this the lowest Phase, so it's started first and stopped last.Retrieve the shared resource soCanUseSharedResourceholders can use itMethods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
isAutoStartup, isConfigured, startMethods inherited from interface org.frankframework.core.IConfigurable
configureMethods inherited from interface org.springframework.context.Lifecycle
isRunning, stopMethods 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:
getPhasein interfaceConfigurableLifecycle- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle