Class ServletContextReference<V>
java.lang.Object
com.atlassian.jira.web.servletcontext.ServletContextReference<V>
- All Implemented Interfaces:
Serializable
A servlet context reference is a variable that is tied to the life of the current servlet context
- Since:
- v4.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServletContextReference(String attributeName) Constructs a reference that has a null value -
Method Summary
-
Constructor Details
-
ServletContextReference
Constructs a reference that has a null value- Parameters:
attributeName- the name of the servlet context reference
-
-
Method Details
-
set
Sets the value of the servlet context reference- Parameters:
value- the new value of the reference
-
get
- Returns:
- the current value of the servlet context reference
-