degu.index.ejb
Class IndexerBean

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

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

See Also:
Serialized Form

Field Summary
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
IndexerBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
          Default create method
 void ejbPassivate()
           
 void ejbRemove()
           
 void indexDocument(DeguDocument deguDocument)
          Business method
 void indexDocumentPages(DeguDocument deguDocument)
          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

logger

private static org.apache.log4j.Logger logger
Constructor Detail

IndexerBean

public IndexerBean()
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

indexDocument

public void indexDocument(DeguDocument deguDocument)
                   throws java.io.IOException,
                          BadDeguDocumentDescriptor,
                          DeguDocumentCorrupted,
                          DocumentIsAlreadyIndexedException
Business method

Throws:
DeguDocumentCorrupted
BadDeguDocumentDescriptor
java.io.IOException
DocumentIsAlreadyIndexedException

indexDocumentPages

public void indexDocumentPages(DeguDocument deguDocument)
                        throws java.io.IOException,
                               BadDeguDocumentDescriptor,
                               DeguDocumentCorrupted
Business method

Throws:
DeguDocumentCorrupted
BadDeguDocumentDescriptor
java.io.IOException