public JAXWSServiceFactory() { this(XFireFactory.newInstance().getXFire().getTransportManager()); }
public DefaultXFire(final ServiceRegistry registry, final TransportManager transportManager) { this.registry = registry; this.transportManager = transportManager; createPhases(); createHandlers(); }
/** * An annotation service factory that is initialized with the {@link org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations} and * the default transport manager. */ public EnunciatedJAXWSServiceFactory() { super(new Jsr181WebAnnotations(), XFireFactory.newInstance().getXFire().getTransportManager()); }
protected Service findService(final String serviceName) { Service service = getServiceRegistry().getService(serviceName); if (service == null) { throw new XFireRuntimeException("Couldn't find service " + serviceName); } return service; }
public XFireProxyFactory() { this.xfire = XFireFactory.newInstance().getXFire(); }
public void generateWSDL(final String serviceName, final OutputStream out) { try { final WSDLWriter wsdl = getWSDL(serviceName); wsdl.write(out); } catch (IOException e) { throw new XFireRuntimeException("Couldn't generate WSDL.", e); } }
@Transactional(readOnly = true) public class WebService { public void letsThrowAnException() { throw new XFireRuntimeException("test!"); } }
public TransportManager getTransportManager() { return xfire.getTransportManager(); }
public ServiceRegistry getServiceRegistry() { return xfire.getServiceRegistry(); } }
protected XFire getXFire() { if (xfire == null) xfire = new DefaultXFire(); return xfire; }
protected static XFireFactory createInstance() { return new XFireFactory(); }
/** * Initializes a new instance of the <code>ObjectServiceFactory</code>. * Uses the XFireFactory to obtain an instance of the TransportManager. */ public ObjectServiceFactory() { this(XFireFactory.newInstance().getXFire().getTransportManager()); }
/** * An annotation service factory that is initialized with the {@link org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations} and * the default transport manager. */ public EnunciatedJAXWSServiceFactory() { super(new Jsr181WebAnnotations(), XFireFactory.newInstance().getXFire().getTransportManager()); }
public XFireHttpServer(File keystore, String keystorePassword, String keyPassword) { this(XFireFactory.newInstance().getXFire(), keystore, keystorePassword, keyPassword); }
public ServiceRegistry getServiceRegistry() { return xfire.getServiceRegistry(); }
protected XFireFactory() { xfire = new DefaultXFire(); }
/** * Creates an AnnotationServiceFactory which uses the most appropriate * annotations implementation - commons-attributes on Java 1.4 and * Java 5 attributes on Java 5 JVMs. * <p> * The {@link TransportManager} is retrieved from the {@link XFireFactory}. */ public AnnotationServiceFactory() { this(XFireFactory.newInstance().getXFire().getTransportManager()); }
public ObjectServiceFactory(BindingProvider bp) { this(XFireFactory.newInstance().getXFire().getTransportManager(), bp); }
public JaxbServiceFactory() { this(XFireFactory.newInstance().getXFire().getTransportManager(), null); }
public JaxbServiceFactory(JAXBContext jaxbContext) { this(XFireFactory.newInstance().getXFire().getTransportManager(), jaxbContext); }