Class JohnsonEventContainerServiceImpl

java.lang.Object
com.atlassian.bamboo.web.utils.JohnsonEventContainerServiceImpl
All Implemented Interfaces:
JohnsonEventContainerService

@Service public class JohnsonEventContainerServiceImpl extends Object implements JohnsonEventContainerService
Implementation of the JohnsonEventContainerService interface Provides methods to obtain the singleton instance of JohnsonEventContainer or to retrieve an instance specific to a given ServletContext
Since:
10.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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
    Retrieves the singleton instance of JohnsonEventContainer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JohnsonEventContainerServiceImpl

      public JohnsonEventContainerServiceImpl()
  • Method Details

    • getInstance

      @NotNull public @NotNull com.atlassian.johnson.JohnsonEventContainer getInstance()
      Retrieves the singleton instance of JohnsonEventContainer
      Specified by:
      getInstance in interface JohnsonEventContainerService
      Returns:
      the singleton instance of JohnsonEventContainer
    • get

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