Package com.atlassian.bamboo.web.utils
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 theJohnsonEventContainerServiceinterface Provides methods to obtain the singleton instance ofJohnsonEventContaineror to retrieve an instance specific to a givenServletContext- Since:
- 10.0
-
-
Constructor Summary
Constructors Constructor Description JohnsonEventContainerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 public @NotNull com.atlassian.johnson.JohnsonEventContainer getInstance()
Retrieves the singleton instance ofJohnsonEventContainer- Specified by:
getInstancein interfaceJohnsonEventContainerService- Returns:
- the singleton instance of JohnsonEventContainer
-
get
@Nullable public @Nullable com.atlassian.johnson.JohnsonEventContainer get(javax.servlet.ServletContext context)
Retrieves theJohnsonEventContainerassociated with the specifiedServletContext- Specified by:
getin interfaceJohnsonEventContainerService- Parameters:
context- the ServletContext for which to retrieve the JohnsonEventContainer- Returns:
- the JohnsonEventContainer associated with the given ServletContext
-
-