Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/dell/wsdm/demos/interop/x2005/x04/AbstractIpmiserverService.java


1   package com.dell.wsdm.demos.interop.x2005.x04;
2   
3   import org.apache.ws.resource.ResourceContext;
4   import org.apache.ws.resource.handler.ServiceSoapMethodNameMap;
5   import org.apache.ws.resource.handler.SoapMethodNameMap;
6   
7   import javax.xml.namespace.QName;
8   
9   /**
10   * This class should be generated on every "generation" against the WSDL.
11   * This will ensure it is always up-to-date with the WSDL.
12   * <p/>
13   * NOTE: This class is generated and is NOT meant to be modified.
14   */
15  public abstract class AbstractIpmiserverService
16          implements org.apache.ws.resource.handler.WsrfService, org.apache.ws.resource.properties.v2004_06.porttype.SetResourcePropertiesPortType, org.apache.ws.resource.properties.v2004_06.porttype.GetResourcePropertyPortType, org.apache.ws.notification.base.v2004_06.porttype.NotificationProducerPortType
17  {
18  
19      public static final String TARGET_NSURI = "http://dell.com/wsdm/demos/interop/2005/04";
20      public static final String TARGET_NSPREFIX = "04";
21  
22      /**
23       * DOCUMENT_ME
24       */
25      private ServiceSoapMethodNameMap m_methodNameMap;
26  
27      /**
28       * DOCUMENT_ME
29       */
30      private boolean m_isInitialized;
31  
32      /**
33       * DOCUMENT_ME
34       *
35       * @param requestQname DOCUMENT_ME
36       * @return DOCUMENT_ME
37       */
38      public String getMethodName(QName requestQname)
39      {
40          if (!m_isInitialized)
41          {
42              init();
43          }
44  
45          return m_methodNameMap.getMethodName(requestQname);
46      }
47  
48      /**
49       * DOCUMENT_ME
50       *
51       * @return DOCUMENT_ME
52       */
53      public abstract ResourceContext getResourceContext();
54  
55      /**
56       * DOCUMENT_ME
57       *
58       * @return DOCUMENT_ME
59       */
60      public final SoapMethodNameMap getMethodNameMap()
61      {
62          return m_methodNameMap;
63      }
64  
65      /**
66       * DOCUMENT_ME
67       */
68      public void init()
69      {
70          m_methodNameMap = new ServiceSoapMethodNameMap(getResourceContext());
71          m_methodNameMap.addMapping(javax.xml.namespace.QName.valueOf("{http://dell.com/wsdm/demos/interop/2005/04}Reset"), "Reset");
72          m_isInitialized = true;
73      }
74  
75  
76      /**
77       * DOCUMENT_ME
78       *
79       * @return DOCUMENT_ME
80       */
81      protected final boolean isInitialized()
82      {
83          return m_isInitialized;
84      }
85  
86      /**
87       * DOCUMENT_ME
88       *
89       * @param requestDoc DOCUMENT_ME
90       * @return DOCUMENT_ME
91       */
92      public org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.SetResourcePropertiesResponseDocument setResourceProperties(org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.SetResourcePropertiesDocument requestDoc)
93      {
94          return new org.apache.ws.resource.properties.v2004_06.porttype.impl.SetResourcePropertiesPortTypeImpl(getResourceContext()).setResourceProperties(requestDoc);
95      }
96  
97      /**
98       * DOCUMENT_ME
99       *
100      * @param requestDoc DOCUMENT_ME
101      * @return DOCUMENT_ME
102      */
103     public org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.GetResourcePropertyResponseDocument getResourceProperty(org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.GetResourcePropertyDocument requestDoc)
104     {
105         return new org.apache.ws.resource.properties.v2004_06.porttype.impl.GetResourcePropertyPortTypeImpl(getResourceContext()).getResourceProperty(requestDoc);
106     }
107 
108     /**
109      * DOCUMENT_ME
110      *
111      * @param requestDoc DOCUMENT_ME
112      * @return DOCUMENT_ME
113      */
114     public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument subscribe(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeDocument requestDoc)
115     {
116         return new org.apache.ws.notification.base.v2004_06.porttype.impl.NotificationProducerPortTypeImpl(getResourceContext()).subscribe(requestDoc);
117     }
118 
119     /**
120      * DOCUMENT_ME
121      *
122      * @param requestDoc DOCUMENT_ME
123      * @return DOCUMENT_ME
124      */
125     public org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageResponseDocument getCurrentMessage(org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageDocument requestDoc)
126     {
127         return new org.apache.ws.notification.base.v2004_06.porttype.impl.NotificationProducerPortTypeImpl(getResourceContext()).getCurrentMessage(requestDoc);
128     }
129 
130 
131 }