public static ActivityContext getActivityContext ( ServletContext servletContext ) { ActivityContext activityContext = getActivityContext ( servletContext , ROOT_WEB_SERVICE_ATTRIBUTE ) ; if ( activityContext == null ) { throw new IllegalStateException ( "No Root AspectranWebService found; " + "No AspectranServiceListener registered?" ) ; } return activityContext ; }
Find the root ActivityContext for this web aspectran service .