Class WebServiceHolder


  • public class WebServiceHolder
    extends java.lang.Object

    Created: 01/10/2019

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.aspectran.core.context.ActivityContext getActivityContext​(javax.servlet.http.HttpServlet servlet)
      Find the standalone ActivityContext for this web aspectran service.
      static com.aspectran.core.context.ActivityContext getActivityContext​(javax.servlet.ServletContext servletContext)
      Find the root ActivityContext for this web aspectran service.
      static com.aspectran.core.context.ActivityContext getCurrentActivityContext()  
      static WebService getCurrentWebService()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebServiceHolder

        public WebServiceHolder()
    • 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