org.codehaus.xfire
Class XFireFactory
java.lang.Object
org.codehaus.xfire.XFireFactory
public class XFireFactory
- extends java.lang.Object
The XFireFactory class allows you to embed XFire within your
apps easily.
This class assumes one XFire instance per JVM. To create many
XFire instances you must use your own configuration and instantiation
mechanism.
If you want to provide your own Factory you must:
- Register your factory via
registerFactory
- Implment
public static XFireFactory createInstance()
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XFireFactory
protected XFireFactory()
throws java.lang.Exception
- Throws:
java.lang.Exception
XFireFactory
protected XFireFactory(XFire xfire)
throws java.lang.Exception
- Throws:
java.lang.Exception
createInstance
protected static XFireFactory createInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
newInstance
public static XFireFactory newInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
newInstance
public static XFireFactory newInstance(java.lang.String selector)
throws java.lang.Exception
- Throws:
java.lang.Exception
registerFactory
public static void registerFactory(java.lang.Class factoryClass,
boolean def)
- Register an XFireFactory class.
- Parameters:
factoryClass
- def
- Whether or not this should be the default factory.
getXFire
public XFire getXFire()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004-2005 Codehaus. All Rights Reserved.