Package com.atlassian.bamboo.web.utils
Interface JohnsonEventContainerService
-
- All Known Implementing Classes:
JohnsonEventContainerServiceImpl
public interface JohnsonEventContainerServiceA service interface for managing and retrieving instances ofJohnsonEventContainerThis service provides methods to obtain the singleton instance of the JohnsonEventContainer or to retrieve an instance specific to a givenServletContext- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable com.atlassian.johnson.JohnsonEventContainerget(javax.servlet.ServletContext context)Retrieves theJohnsonEventContainerassociated with the specifiedServletContext@NotNull com.atlassian.johnson.JohnsonEventContainergetInstance()Retrieves the singleton instance ofJohnsonEventContainer
-
-
-
Method Detail
-
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 theJohnsonEventContainerassociated with the specifiedServletContext- Parameters:
context- the ServletContext for which to retrieve the JohnsonEventContainer- Returns:
- the JohnsonEventContainer associated with the given ServletContext
-
-