01: /*
02: * de.schlund.pfixcore.example.webservices.DataImpl
03: */
04: package de.schlund.pfixcore.example.webservices;
05:
06: import de.schlund.pfixcore.webservice.AbstractService;
07:
08: /**
09: * DataImpl.java
10: *
11: * Created: 30.06.2004
12: *
13: * @author mleidig
14: */
15: public class DataImpl extends AbstractService implements Data {
16:
17: public String exchangeData(String data, int strSize)
18: throws Exception {
19: ContextData ctx = (ContextData) getContextResourceManager()
20: .getResource(ContextData.class.getName());
21: return ctx.exchangeData(data, strSize);
22: }
23:
24: public String[] exchangeDataArray(String[] data, int arrSize,
25: int strSize) throws Exception {
26: ContextData ctx = (ContextData) getContextResourceManager()
27: .getResource(ContextData.class.getName());
28: return ctx.exchangeDataArray(data, arrSize, strSize);
29: }
30:
31: }
|