0
我試圖在WSDLDocumentation annoation的常量上添加一個動態值。@WSDLDocumentation值中的指定版本
類似的東西:
static final ResourceBundle bundleConfigApplication = ResourceBundle.getBundle("contract");
static final String VERSION = bundleConfigApplication.getString("affilie.version");
@WSDLDocumentation(value = VERSION, placement = WSDLDocumentation.Placement.TOP)
這裏的主要目的,是讓WSDL文檔中的一個可配置的值。
的問題是,標註值是一個常數,不斷不接受變量...
如果有人有任何想法如何做到這一點?