* This method will be used to attach @ServiceMode annotation data to
* the <code>DescriptionBuilderComposite</code>
* @param composite - <code>DescriptionBuildercomposite</code>
*/
private void attachServiceModeAnnotation(DescriptionBuilderComposite composite) {
ServiceMode serviceMode = (ServiceMode) ConverterUtils.getAnnotation(
ServiceMode.class, serviceClass);
if(serviceMode != null) {
// Attach @ServiceMode annotated data
ServiceModeAnnot smAnnot = ServiceModeAnnot.createWebServiceAnnotImpl();
smAnnot.setValue(serviceMode.value());
composite.setServiceModeAnnot(smAnnot);
}
}