1 package org.codehaus.xfire; 2 3 import java.io.InputStream; 4 import java.io.OutputStream; 5 import org.codehaus.xfire.service.ServiceRegistry; 6 import org.codehaus.xfire.transport.TransportManager; 7 8 /*** 9 * <p>Central processing point for XFire. This can be instantiated 10 * programmatically by using one of the implementations (such as 11 * <code>DefaultXFire</code> or can be managed by a container like 12 * Pico or Plexus. 13 * </p> 14 * 15 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> 16 * @since Feb 18, 2004 17 */ 18 public interface XFire 19 { 20 final public static String ROLE = XFire.class.getName(); 21 22 /*** 23 * Processes a new SOAP Message request. If the request is not a SOAP 24 * Message an appropriate Fault is thrown. 25 */ 26 void invoke( InputStream in, 27 MessageContext context ); 28 29 /*** 30 * Generate WSDL for a service. 31 * 32 * @param service 33 */ 34 void generateWSDL(String service, OutputStream out); 35 36 ServiceRegistry getServiceRegistry(); 37 38 TransportManager getTransportManager(); 39 }