Package com.atlassian.bamboo.web.utils
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
Modifier and TypeMethodDescription@Nullable com.atlassian.johnson.JohnsonEventContainer
get
(javax.servlet.ServletContext context) Retrieves theJohnsonEventContainer
associated with the specifiedServletContext
@NotNull com.atlassian.johnson.JohnsonEventContainer
Retrieves the singleton instance ofJohnsonEventContainer
-
Method Details
-
getInstance
@NotNull @NotNull com.atlassian.johnson.JohnsonEventContainer getInstance()Retrieves the singleton instance ofJohnsonEventContainer
- Returns:
- the singleton instance of JohnsonEventContainer
-
get
@Nullable @Nullable com.atlassian.johnson.JohnsonEventContainer get(javax.servlet.ServletContext context) Retrieves theJohnsonEventContainer
associated with the specifiedServletContext
- Parameters:
context
- the ServletContext for which to retrieve the JohnsonEventContainer- Returns:
- the JohnsonEventContainer associated with the given ServletContext
-