return annotation;
}
public Map getServiceProperties(Class clazz) {
Map properties = new HashMap();
ServiceProperties serviceProperties = (ServiceProperties) clazz.getAnnotation(ServiceProperties.class);
if(serviceProperties != null){
ServiceProperty[] props =serviceProperties.properties();
for(int i=0;i<props.length;i++){
ServiceProperty serviceProperty = props[i];
if(!"".equals(serviceProperty.value()) && serviceProperty.list().length>0 ){
throw new XFireRuntimeException("Service property cant have set both value and list values");
}