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
All Known Implementing Classes:
HttpSession

public interface SharedResource<T> extends IConfigurable, ConfigurableLifecycle, org.springframework.context.Phased
  • 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 org.springframework.context.Phased