Interface RMIRemoteSearchable

All Superinterfaces:
Closeable, Remote, Searchable
All Known Implementing Classes:

public interface RMIRemoteSearchable
extends Searchable, Remote

Marker interface to enable subclasses of Searchable to be used via Java RMI. Classes implementing this interface can be used as a RMI - "remote object".

RMIRemoteSearchable extends Searchable and can transparently be used as a such.

Example usage:

   RMIRemoteSearchable remoteObject = ...;
   String remoteObjectName = ...;
   Naming.rebind (remoteObjectName, remoteObject);
   Searchable luceneSearchable = (Searchable) Naming.lookup (remoteObjectName);


Method Summary
Methods inherited from interface
close, doc, doc, docFreq, docFreqs, explain, maxDoc, rewrite, search, search, search

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.