View Javadoc

1   package org.codehaus.xfire.java;
2   
3   import java.util.Collection;
4   import java.util.List;
5   
6   import org.codehaus.xfire.MessageContext;
7   import org.codehaus.xfire.fault.XFireFault;
8   import org.codehaus.xfire.java.mapping.TypeMapping;
9   import org.codehaus.xfire.service.Service;
10  
11  /*** 
12   * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
13   * @since Feb 18, 2004
14   */
15  public interface JavaService
16      extends Service
17  {
18      public final static int SCOPE_APPLICATION = 1;
19      
20      public final static int SCOPE_SESSION = 2;
21      
22      public final static int SCOPE_REQUEST = 3;
23      
24      TypeMapping getTypeMapping();
25      
26      List getAllowedMethods();
27  
28  	Operation getOperation( String localName, String namespace );
29      
30      Class getServiceClass();
31  
32      Collection getOperations();
33      
34      int getScope();
35      
36      Object getServiceObject( MessageContext context ) throws XFireFault;
37  }