degu.searcher.ejb
Class SearcherBean

java.lang.Object
  extended by degu.searcher.ejb.SearcherBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class SearcherBean
extends java.lang.Object
implements javax.ejb.SessionBean

See Also:
Serialized Form

Field Summary
(package private)  DocumentIndexSearcher docIndexSearcher
           
 
Constructor Summary
SearcherBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 DeguHits searchDocumentIndex(java.lang.String queryString, int begin, int end)
          Business method
 void setSessionContext(javax.ejb.SessionContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docIndexSearcher

DocumentIndexSearcher docIndexSearcher
Constructor Detail

SearcherBean

public SearcherBean()
Method Detail

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

searchDocumentIndex

public DeguHits searchDocumentIndex(java.lang.String queryString,
                                    int begin,
                                    int end)
                             throws org.apache.lucene.queryParser.ParseException,
                                    java.io.IOException
Business method

Throws:
org.apache.lucene.queryParser.ParseException
java.io.IOException