Package com.aspectran.web.service
Class WebServiceHolder
- java.lang.Object
-
- com.aspectran.web.service.WebServiceHolder
-
public class WebServiceHolder extends java.lang.ObjectCreated: 01/10/2019
-
-
Constructor Summary
Constructors Constructor Description WebServiceHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.aspectran.core.context.ActivityContextgetActivityContext(javax.servlet.http.HttpServlet servlet)Find the standalone ActivityContext for this web aspectran service.static com.aspectran.core.context.ActivityContextgetActivityContext(javax.servlet.ServletContext servletContext)Find the root ActivityContext for this web aspectran service.static com.aspectran.core.context.ActivityContextgetCurrentActivityContext()static WebServicegetCurrentWebService()
-
-
-
Method Detail
-
getCurrentWebService
public static WebService getCurrentWebService()
-
getCurrentActivityContext
public static com.aspectran.core.context.ActivityContext getCurrentActivityContext()
-
getActivityContext
public static com.aspectran.core.context.ActivityContext getActivityContext(javax.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 com.aspectran.core.context.ActivityContext getActivityContext(javax.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
-
-