Package com.aspectran.web.service
Class WebServiceHolder
- java.lang.Object
-
- com.aspectran.web.service.WebServiceHolder
-
public class WebServiceHolder extends java.lang.Object
Created: 01/10/2019
-
-
Constructor Summary
Constructors Constructor Description WebServiceHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivityContext
getActivityContext(jakarta.servlet.http.HttpServlet servlet)
Find the standalone ActivityContext for this web aspectran service.static ActivityContext
getActivityContext(jakarta.servlet.ServletContext servletContext)
Find the root ActivityContext for this web aspectran service.static ActivityContext
getCurrentActivityContext()
static WebService
getCurrentWebService()
-
-
-
Method Detail
-
getCurrentWebService
public static WebService getCurrentWebService()
-
getCurrentActivityContext
public static ActivityContext getCurrentActivityContext()
-
getActivityContext
public static ActivityContext getActivityContext(jakarta.servlet.ServletContext servletContext)
Find the root ActivityContext for this web aspectran service.- Parameters:
servletContext
- ServletContext to find the web aspectran service for- Returns:
- the ActivityContext for this web aspectran service
-
getActivityContext
public static ActivityContext getActivityContext(jakarta.servlet.http.HttpServlet servlet)
Find the standalone ActivityContext for this web aspectran service.- Parameters:
servlet
- the servlet- Returns:
- the ActivityContext for this web aspectran service
-
-