org.backsource.xindice
Class PooledXindiceAdapter
java.lang.Object
org.backsource.xindice.PooledXindiceAdapter
- public class PooledXindiceAdapter
- extends java.lang.Object
This is only here to remember a possible concept, namley to wrap the pool and XindiceAdapter together to not have to write all the long pooling get/leave code every time you need to invoke an XindiceAdapter call.
1. Make XindicePool an interface.
2. Implement all methods in XindiceAdapter, see example below.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Peter Antman
|
Method Summary |
void |
addDocument(java.lang.String collection,
java.lang.String data,
java.lang.String id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PooledXindiceAdapter
public PooledXindiceAdapter(XindicePool pool)
addDocument
public void addDocument(java.lang.String collection,
java.lang.String data,
java.lang.String id)
throws XindiceException
- Throws:
XindiceException
Copyright © 2003-2004 Backsource. All Rights Reserved.