| Apcoordinator ユーザーズガイド | 
| 目次    | 
| 第5部 Webサービスの開発 | > 第28章 SOAPサーバアプリケーションの開発 | > 28.7 サーバ固有機能の利用 | 
import com.fujitsu.uji.DispatchContext; import com.fujitsu.uji.GenericHandler; import com.fujitsu.uji.xml.XmlDataBean; import com.fujitsu.uji.soap.service.SOAPDispatchContext; public class MyHandler extends com.fujitsu.uji.GenericHandler { private int count = 0; public Object myMethod(DispatchContext context, XmlDataBean dataBean){ count++; if(count == 10){ // セションを切断します。 SOAPDispatchContext soapContext = (SOAPDispatchContext)context; soapContext.release(); } } }
| 目次    |