|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.XFireFactory
public class XFireFactory
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:
registerFactory
public static XFireFactory createInstance()
Constructor Summary | |
---|---|
protected |
XFireFactory()
|
protected |
XFireFactory(XFire xfire)
|
Method Summary | |
---|---|
protected static XFireFactory |
createInstance()
|
XFire |
getXFire()
|
static XFireFactory |
newInstance()
|
static XFireFactory |
newInstance(java.lang.String selector)
|
static void |
registerFactory(java.lang.Class factoryClass,
boolean def)
Register an XFireFactory class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XFireFactory()
protected XFireFactory(XFire xfire)
Method Detail |
---|
protected static XFireFactory createInstance()
public static XFireFactory newInstance()
public static XFireFactory newInstance(java.lang.String selector)
public static void registerFactory(java.lang.Class factoryClass, boolean def)
factoryClass
- def
- Whether or not this should be the default factory.public XFire getXFire()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |