T function ( Class < T > arg0 ) { T loc0 = kernel . getServiceManager ( ) . getServiceByName ( null , arg0 ) ; if ( loc0 == null ) { throw new IllegalStateException ( "srini_string" + arg0 + "srini_string" ) ; } return loc0 ; }
gets a service for testing , can be cast to the impl if desired , only works if this is the only service of the given type concode_field_sep String requestId concode_elem_sep DSpaceKernel kernel concode_elem_sep RequestService requestService concode_elem_sep DSpaceKernelImpl kernelImpl concode_field_sep DSpaceKernel getKernel concode_elem_sep ServiceManager getServiceManager concode_elem_sep RequestService getRequestService concode_elem_sep void _startRequest concode_elem_sep void _initializeRequestService concode_elem_sep void _destroyKernel concode_elem_sep void _initializeKernel concode_elem_sep void _destroyRequestService concode_elem_sep void _endRequest