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
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    By default give this the lowest Phase, so it's started first and stopped last.
    Retrieve the shared resource so CanUseSharedResource holders can use it

    Methods 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

  • Method Details

    • getSharedResource

      T getSharedResource()
      Retrieve the shared resource so CanUseSharedResource holders can use it
    • getPhase

      default int getPhase()
      By default give this the lowest Phase, so it's started first and stopped last.
      Specified by:
      getPhase in interface ConfigurableLifecycle
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle