org.backsource.xindice
Class PooledXindiceAdapter

java.lang.Object
  extended byorg.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

Constructor Summary
PooledXindiceAdapter(XindicePool pool)
           
 
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
 

Constructor Detail

PooledXindiceAdapter

public PooledXindiceAdapter(XindicePool pool)
Method Detail

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.