View Javadoc

1   /*
2    * $Id: BexeeWSDDProvider.java,v 1.1 2004/12/15 14:18:15 patforna Exp $
3    *
4    * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
5    * Berne University of Applied Sciences
6    * School of Engineering and Information Technology
7    * All rights reserved.
8    */
9   package bexee.axis;
10  
11  import org.apache.axis.EngineConfiguration;
12  import org.apache.axis.Handler;
13  import org.apache.axis.deployment.wsdd.WSDDProvider;
14  import org.apache.axis.deployment.wsdd.WSDDService;
15  
16  /***
17   * Provides a mean of how this provider can be referenced in a wsdd.
18   * <p>
19   * Example:
20   * <code>&lt;service name="provider" provider="java:BexeeProvider"&gt;</code>
21   * 
22   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:15 $
23   * @author Patric Fornasier
24   * @author Pawel Kowalski
25   */
26  public class BexeeWSDDProvider extends WSDDProvider {
27  
28      /***
29       * Creates a new instance of this provider.
30       */
31      public Handler newProviderInstance(WSDDService service,
32              EngineConfiguration registry) throws Exception {
33  
34          return new BexeeProvider();
35      }
36  
37      /***
38       * The name of this provider.
39       * 
40       * @return returns a String "<code>BexeeProvider</code>"
41       */
42      public String getName() {
43  
44          return "BexeeProvider";
45      }
46  }