protected Object getInjectedObjectFromCXF ( Class < ? > classType , Type genericType , Annotation [ ] memberAnnotations , ParamInjectionMetadata paramInjectionMetadata ) { Parameter p = ResourceUtils . getParameter ( 0 , memberAnnotations , classType ) ; Object injectedObject = null ; Message message = paramInjectionMetadata . getInMessage ( ) ; OperationResourceInfo ori = paramInjectionMetadata . getOperationResourceInfo ( ) ; BeanResourceInfo cri = ori . getClassResourceInfo ( ) ; MultivaluedMap < String , String > values = ( MultivaluedMap < String , String > ) message . get ( URITemplate . TEMPLATE_PARAMETERS ) ; if ( p . getType ( ) == ParameterType . BEAN && cri instanceof ClassResourceInfo ) { injectedObject = JAXRSUtils . createBeanParamValue ( message , classType , ori ) ; } else { injectedObject = JAXRSUtils . createHttpParameterValue ( p , classType , genericType , memberAnnotations , message , values , ori ) ; } return injectedObject ; }
real create the paramter object based CXF implementation