org.codehaus.xfire.plexus
Class PlexusXFireFactory

java.lang.Object
  extended by org.codehaus.xfire.XFireFactory
      extended by org.codehaus.xfire.plexus.PlexusXFireFactory

public class PlexusXFireFactory
extends XFireFactory

The StandaloneXFire class allows you to embed a Plexus managed version of XFire within your application. Use the XFireFactory to access it.

If you are not using the StandaloneXFireServlet or PlexusXFireServlet, you must register this factory:

 XFireFactory.register(PlexusXFireFactory.class, true);
 

Author:
Dan Diephouse

Field Summary
protected  org.codehaus.plexus.embed.Embedder embed
           
 
Constructor Summary
protected PlexusXFireFactory()
           
 
Method Summary
static XFireFactory createInstance()
           
protected  void finalize()
           
 XFire getXFire()
           
 
Methods inherited from class org.codehaus.xfire.XFireFactory
newInstance, newInstance, registerFactory
 
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
Constructor Detail

PlexusXFireFactory

protected PlexusXFireFactory()
                      throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

createInstance

public static XFireFactory createInstance()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getXFire

public XFire getXFire()
               throws java.lang.Exception
Overrides:
getXFire in class XFireFactory
Throws:
java.lang.Exception

finalize

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