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

Quick Search    Search Deep

Source code: org/apache/ws/resource/handler/WsrfService.java


1   /*=============================================================================*
2    *  Copyright 2004 The Apache Software Foundation
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   *=============================================================================*/
16  package org.apache.ws.resource.handler;
17  
18  import org.apache.ws.resource.ResourceContext;
19  
20  /**
21   * Interface to be implemented by the Service implementation, either Abstract
22   * or concrete.  Provides methods for initialization, obtaining the ResourceContext
23   * and getting the SoapMethodNameMap use for mapping incoming request QName's to
24   * method name for a given object.
25   *
26   * @author Sal Campana
27   */
28  public interface WsrfService
29  {
30     /**
31      * Returns the SoapMethodNameMap for the Service, to determine
32      * which method to invoke for an incoming request.
33      *
34      * @return SoapMethodNameMap
35      */
36     public SoapMethodNameMap getMethodNameMap(  );
37  
38     /**
39      * Returns the ResourceContext for the given Service.
40      *
41      * @return ResourceContext
42      */
43     public ResourceContext getResourceContext(  );
44  
45     /**
46      * Initialization method.
47      */
48     public void init(  );
49  }