|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xdms.utils.ObjectPool
com.ibm.xdms.utils.XMLUtilsPool
public class XMLUtilsPool
Used to store a pool of XMLUtils objects
Nested Class Summary | |
---|---|
protected class |
XMLUtilsPool.XMLUtilsFactory
An internal XMLUtilsFactory |
Field Summary | |
---|---|
protected com.ibm.xcap.xml.XMLUtils |
template
An XMLUtils template used for cloning * |
protected static XMLUtilsPool |
xmlUtilsPool
A singleton * |
Fields inherited from class com.ibm.xdms.utils.ObjectPool |
---|
lock, maxSize, minSize, objectFactory, pool |
Constructor Summary | |
---|---|
XMLUtilsPool(com.ibm.xcap.xml.XMLUtils template)
Constructs a |
Method Summary | |
---|---|
com.ibm.xcap.xml.XMLUtils |
checkout()
Checkout an object from the pool. |
static XMLUtilsPool |
getSingleton()
Returns the singletone pool for XMLUtils * |
static void |
init(ResourceContext context)
Initialize the singleton with a template XMLUtils for cloning in the pool * |
Methods inherited from class com.ibm.xdms.utils.ObjectPool |
---|
checkin, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.ibm.xcap.xml.XMLUtils template
protected static XMLUtilsPool xmlUtilsPool
Constructor Detail |
---|
public XMLUtilsPool(com.ibm.xcap.xml.XMLUtils template)
template
- An XMLUtils template used for cloningMethod Detail |
---|
public static XMLUtilsPool getSingleton()
public static void init(ResourceContext context) throws XdmsException
XdmsException
public com.ibm.xcap.xml.XMLUtils checkout()
ObjectPool
checkout
in class ObjectPool
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |