public static boolean isProvider ( ClassInfo classInfo ) { AnnotationInfo annotationInfo = classInfo . getAnnotation ( JaxWsConstants . WEB_SERVICE_ANNOTATION_NAME ) ; if ( annotationInfo == null ) { annotationInfo = classInfo . getAnnotation ( JaxWsConstants . WEB_SERVICE_PROVIDER_ANNOTATION_NAME ) ; if ( annotationInfo != null ) { return true ; } } return false ; }
Judge if is a Web Service Provider .