View Javadoc
1   /**
2    * This Source Code Form is subject to the terms of the Mozilla Public
3    * License, v. 2.0. If a copy of the MPL was not distributed with this
4    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5    *
6    * If it is not possible or desirable to put the notice in a particular
7    * file, then You may include the notice in a location (such as a LICENSE
8    * file in a relevant directory) where a recipient would be likely to look
9    * for such a notice.
10  
11   * 
12   */
13   
14  /*  ---------------------------------------------------------------------------
15   *  U.S. Government, Department of the Army
16   *  Army Materiel Command
17   *  Research Development Engineering Command
18   *  Communications Electronics Research Development and Engineering Center
19   *  ---------------------------------------------------------------------------
20   */
21  
22  package org.oasis_open.docs.wsn.client;
23  
24  import java.net.MalformedURLException;
25  import java.net.URL;
26  import java.util.logging.Logger;
27  import javax.xml.namespace.QName;
28  import javax.xml.ws.Service;
29  import javax.xml.ws.WebEndpoint;
30  import javax.xml.ws.WebServiceClient;
31  import javax.xml.ws.WebServiceFeature;
32  import org.oasis_open.docs.wsn.brw_2.PausableSubscriptionManager;
33  import org.oasis_open.docs.wsn.brw_2.PullPoint;
34  
35  
36  /**
37   * This class was generated by the JAX-WS RI.
38   * JAX-WS RI 2.1.6 in JDK 6
39   * Generated source version: 2.1
40   * 
41   */
42  @WebServiceClient(name = "PausableSubscriptionManagerService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2"
43          //wsdlLocation = "classpath:/brw-2impl.wsdl"
44          )
45  public class PausableSubscriptionManagerService
46      extends Service
47  {
48  
49      public static QName qname=new QName("http://docs.oasis-open.org/wsn/brw-2", "PausableSubscriptionManagerService");
50      private final static URL PAUSABLESUBSCRIPTIONMANAGERSERVICE_WSDL_LOCATION;
51      private final static Logger logger = Logger.getLogger(PausableSubscriptionManagerService.class.getName());
52  
53      static {
54         ClassLoader cl = Thread.currentThread().getContextClassLoader();
55          if (cl != null) {
56              PAUSABLESUBSCRIPTIONMANAGERSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
57          } else {
58              PAUSABLESUBSCRIPTIONMANAGERSERVICE_WSDL_LOCATION = PausableSubscriptionManagerService.class.getClassLoader().getResource("brw-2impl.wsdl");
59          }
60      }
61  
62      public PausableSubscriptionManagerService(URL wsdlLocation, QName serviceName) {
63          super(wsdlLocation, serviceName);
64      }
65  
66      public PausableSubscriptionManagerService() {
67          super(PAUSABLESUBSCRIPTIONMANAGERSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PausableSubscriptionManagerService"));
68      }
69  
70      /**
71       * 
72       * @return
73       *     returns PausableSubscriptionManager
74       */
75      @WebEndpoint(name = "PausableSubscriptionManagerPort")
76      public PausableSubscriptionManager getPausableSubscriptionManagerPort() {
77          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PausableSubscriptionManagerPort"), PausableSubscriptionManager.class);
78      }
79  
80      /**
81       * 
82       * @param features
83       *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
84       * @return
85       *     returns PausableSubscriptionManager
86       */
87      @WebEndpoint(name = "PausableSubscriptionManagerPort")
88      public PausableSubscriptionManager getPausableSubscriptionManagerPort(WebServiceFeature... features) {
89          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PausableSubscriptionManagerPort"), PausableSubscriptionManager.class, features);
90      }
91  
92  }