degu.pagesearcher.ejb
Class PageSearcherBean

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

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

See Also:
Serialized Form

Field Summary
private  PageIndexSearcher searcher
           
 
Constructor Summary
PageSearcherBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
          Default create method
 void ejbPassivate()
           
 void ejbRemove()
           
 DeguHits searchPageIndex(java.lang.String query, 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

searcher

private PageIndexSearcher searcher
Constructor Detail

PageSearcherBean

public PageSearcherBean()
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
Default create method

Throws:
javax.ejb.CreateException

searchPageIndex

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

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