public static Object getComponentInstance ( String name , HttpServletRequest request ) { ServletContext sc = request . getSession ( ) . getServletContext ( ) ; ContainerWrapper containerWrapper = scf . findContainer ( new ServletContextWrapper ( sc ) ) ; if ( ! containerWrapper . isStart ( ) ) { Debug . logError ( "JdonFramework not yet started, please try later " , module ) ; return null ; } return containerWrapper . lookup ( name ) ; }
get a component that registered in container . the component is not different from the service . the component instance is single instance Any intercepter will be disable