degu.indexfacade.ejb
Class DocumentProcessFacadeBean

java.lang.Object
  extended by degu.indexfacade.ejb.DocumentProcessFacadeBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, javax.jms.MessageListener

public class DocumentProcessFacadeBean
extends java.lang.Object
implements javax.ejb.MessageDrivenBean, javax.jms.MessageListener

See Also:
Serialized Form

Field Summary
private  DeguDocumentBuilder docBuilder
           
private  DeguDocumentBuilderHome docBuilderHome
           
private  DeguDocStorage docStorage
           
private  DeguDocStorageHome docStorageHome
           
private  FileStorage fileStorage
           
private  FileStorageHome fileStorageHome
           
private  Indexer indexer
           
private  IndexerHome indexerHome
           
private  javax.ejb.MessageDrivenContext initContext
           
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
DocumentProcessFacadeBean()
           
 
Method Summary
 void ejbCreate()
           
 void ejbRemove()
           
private  javax.naming.Context getInitialContext()
           
 void onMessage(javax.jms.Message message)
           
 void setMessageDrivenContext(javax.ejb.MessageDrivenContext 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

docBuilder

private DeguDocumentBuilder docBuilder

docBuilderHome

private DeguDocumentBuilderHome docBuilderHome

indexer

private Indexer indexer

indexerHome

private IndexerHome indexerHome

fileStorageHome

private FileStorageHome fileStorageHome

fileStorage

private FileStorage fileStorage

docStorage

private DeguDocStorage docStorage

docStorageHome

private DeguDocStorageHome docStorageHome

initContext

private javax.ejb.MessageDrivenContext initContext
Constructor Detail

DocumentProcessFacadeBean

public DocumentProcessFacadeBean()
Method Detail

setMessageDrivenContext

public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
                             throws javax.ejb.EJBException
Specified by:
setMessageDrivenContext in interface javax.ejb.MessageDrivenBean
Throws:
javax.ejb.EJBException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException
Specified by:
ejbRemove in interface javax.ejb.MessageDrivenBean
Throws:
javax.ejb.EJBException

onMessage

public void onMessage(javax.jms.Message message)
Specified by:
onMessage in interface javax.jms.MessageListener

ejbCreate

public void ejbCreate()

getInitialContext

private javax.naming.Context getInitialContext()
                                        throws java.lang.Exception
Throws:
java.lang.Exception