org.codehaus.xfire.XFire Maven / Gradle / Ivy
package org.codehaus.xfire;
import java.io.OutputStream;
import java.util.List;
import org.codehaus.xfire.handler.HandlerSupport;
import org.codehaus.xfire.service.ServiceRegistry;
import org.codehaus.xfire.transport.TransportManager;
/**
* Central processing point for XFire. This can be instantiated programmatically by using one of the implementations
* (such as DefaultXFire
or can be managed by a container like Pico or Plexus.
*
* Central, however, does not mean that there can be only one. Implementations can be very lightweight, creating fast
* generic SOAP processors.
*
* @author Dan Diephouse
* @since Feb 18, 2004
*/
public interface XFire extends HandlerSupport
{
final public static String ROLE = XFire.class.getName();
final public static String XFIRE_HOME = "xfire.home";
final public static String STAX_INPUT_FACTORY="xfire.stax.input.factory";
final public static String STAX_OUTPUT_FACTORY="xfire.stax.output.factory";
final public static String SERVICES_LIST_DISABLED="services.list.disabled";
/**
* Generate WSDL for a service.
*
* @param service The name of the service.
* @param out The OutputStream to write the WSDL to.
*/
void generateWSDL(String service, OutputStream out);
/**
* Get the ServiceRegistry
.
*/
ServiceRegistry getServiceRegistry();
/**
* Get the TransportManager
.
*/
TransportManager getTransportManager();
List getInPhases();
List getOutPhases();
Object getProperty(String key);
void setProperty(String key, Object value);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy