Java 类javax.xml.ws.WebServiceRefs 实例源码

项目:wso2-axis2    文件:JavaClassToDBCConverter.java   
/**
 * This method will be used to attach @WebServiceRefs annotation data to the
 * <code>DescriptionBuilderComposite</code>
 *
 * @param composite - <code>DescriptionBuilderComposite</code>
 */
private void attachWebServiceRefsAnnotation(DescriptionBuilderComposite composite) {
    WebServiceRefs webServiceRefs = (WebServiceRefs)ConverterUtils.getAnnotation(
            WebServiceRefs.class, serviceClass);
    if (webServiceRefs != null) {
        WebServiceRef[] refs = webServiceRefs.value();
        for (WebServiceRef ref : refs) {
            WebServiceRefAnnot wsrAnnot = ConverterUtils.createWebServiceRefAnnot(
                    ref);
            composite.setWebServiceRefAnnot(wsrAnnot);
        }
    }
}