org.codehaus.xfire.plexus
Class StandaloneXFire

java.lang.Object
  |
  +--org.codehaus.xfire.plexus.StandaloneXFire

public class StandaloneXFire
extends java.lang.Object

The StandaloneXFire class allows you to embed XFire any which way within your apps. Grab an instance of the StandaloneXFire instance via getInstance() then access such components as the ServiceRegistry or TransportService.

This class assumes one XFire instance per JVM. To create many XFire instances you must use Plexus directly.

To use a non-standard plexus configuration for XFire, set the "xfire.plexusConfig" system property to the location of the configuration file. This can be in the classpath or in the filesystem.

Author:
Dan Diephouse

Field Summary
protected  org.codehaus.plexus.embed.Embedder embed
           
 
Method Summary
protected  void finalize()
           
static StandaloneXFire getInstance()
           
 org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()
           
 org.codehaus.xfire.transport.TransportManager getTransportService()
           
 org.codehaus.xfire.XFire getXFire()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

embed

protected org.codehaus.plexus.embed.Embedder embed
Method Detail

getInstance

public static StandaloneXFire getInstance()
                                   throws java.lang.Exception
java.lang.Exception

getServiceRegistry

public org.codehaus.xfire.service.ServiceRegistry getServiceRegistry()
                                                              throws java.lang.Exception
java.lang.Exception

getXFire

public org.codehaus.xfire.XFire getXFire()
                                  throws java.lang.Exception
java.lang.Exception

getTransportService

public org.codehaus.xfire.transport.TransportManager getTransportService()
                                                                  throws java.lang.Exception
java.lang.Exception

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable


Copyright © 2004 Codehaus. All Rights Reserved.