View Javadoc

1   /*
2    * Copyright 2012 The Kuali Foundation
3    *
4    * Licensed under the the Educational Community License, Version 1.0
5    * (the "License"); you may not use this file except in compliance
6    * with the License.  You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl1.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.student.common.spring;
17  
18  import java.io.Serializable;
19  import java.util.List;
20  
21  import javax.jws.WebMethod;
22  import javax.jws.WebParam;
23  import javax.xml.ws.RequestWrapper;
24  import javax.xml.ws.ResponseWrapper;
25  
26  import org.kuali.student.r1.common.dictionary.dto.ObjectStructureDefinition;
27  import org.kuali.student.r1.common.dictionary.old.dto.ObjectStructure;
28  import org.kuali.student.r1.common.dictionary.service.DictionaryService;
29  import org.springframework.beans.BeansException;
30  import org.springframework.beans.factory.BeanFactory;
31  import org.springframework.beans.factory.BeanFactoryAware;
32  
33  
34  /**
35   * This class exists soley to test the WebServiceAwareSpringBeanPostProcessor class.
36   * 
37   * @author Kuali Student Team
38   */
39  public class FakeDictionaryServiceImpl extends AbstractFakeService implements DictionaryService, Serializable {
40  
41  	
42  
43  	@Override
44      @WebMethod
45      @RequestWrapper(className = "org.kuali.student.r1.common.dictionary.service.jaxws.GetObjectTypes", targetNamespace = "http://student.kuali.org/wsdl/dictionary")
46      @ResponseWrapper(className = "org.kuali.student.r1.common.dictionary.service.jaxws.GetObjectTypesResponse", targetNamespace = "http://student.kuali.org/wsdl/dictionary")
47      public List<String> getObjectTypes() {
48  	    // TODO Auto-generated method stub
49  	    return null;
50      }
51  
52  	@Override
53      @WebMethod
54      @RequestWrapper(className = "org.kuali.student.r1.common.dictionary.service.jaxws.GetObjectStructure", targetNamespace = "http://student.kuali.org/wsdl/dictionary")
55      @ResponseWrapper(className = "org.kuali.student.r1.common.dictionary.service.jaxws.GetObjectStructureResponse", targetNamespace = "http://student.kuali.org/wsdl/dictionary")
56      public ObjectStructureDefinition getObjectStructure(@WebParam(name = "objectTypeKey") String objectTypeKey) {
57  	    // TODO Auto-generated method stub
58  	    return null;
59      }
60  
61  	@Override
62      public String toString() {
63  		return getClass().getName();
64      }
65  	
66  	
67  }