Package org.codehaus.xfire.annotations

Examples of org.codehaus.xfire.annotations.ServiceProperties.properties()


  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");
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.