Interface JohnsonEventContainerService

  • All Known Implementing Classes:
    JohnsonEventContainerServiceImpl

    public interface JohnsonEventContainerService
    A service interface for managing and retrieving instances of JohnsonEventContainer This service provides methods to obtain the singleton instance of the JohnsonEventContainer or to retrieve an instance specific to a given ServletContext
    Since:
    10.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable com.atlassian.johnson.JohnsonEventContainer get​(javax.servlet.ServletContext context)
      Retrieves the JohnsonEventContainer associated with the specified ServletContext
      @NotNull com.atlassian.johnson.JohnsonEventContainer getInstance()
      Retrieves the singleton instance of JohnsonEventContainer
    • Method Detail

      • getInstance

        @NotNull
        @NotNull com.atlassian.johnson.JohnsonEventContainer getInstance()
        Retrieves the singleton instance of JohnsonEventContainer
        Returns:
        the singleton instance of JohnsonEventContainer
      • get

        @Nullable
        @Nullable com.atlassian.johnson.JohnsonEventContainer get​(javax.servlet.ServletContext context)
        Retrieves the JohnsonEventContainer associated with the specified ServletContext
        Parameters:
        context - the ServletContext for which to retrieve the JohnsonEventContainer
        Returns:
        the JohnsonEventContainer associated with the given ServletContext