org.enhydra.barracuda.core.event
Interface ApplicationAssembler

All Known Implementing Classes:
DefaultApplicationAssembler

public interface ApplicationAssembler

This interface defines an ApplicationAssembler. This whole concept is still pretty experimental. Basically, the idea is that whatever implements this interface gets passed a reference to the EventGateway, an XML File name, and a SAX parser class...given this information, the implementor is free to assemble an event hierarchy, register listeners, etc.

The only implementation right now is found in org.enhydra.barracuda. experimental.assembler.DefaultApplicationAssembler (and this should truly be viewed as experimental)

Look at the source in ApplicationGateway to see how the assembler is invoked when the servlet is intialized.


Method Summary
 void assemble(EventGateway irootGateway, javax.servlet.ServletConfig iservletConfig, java.lang.String iassemblySourceFile)
          Assemble the system, given the root EventGateway and the XML assembly decriptor name.
 void assemble(EventGateway irootGateway, javax.servlet.ServletConfig iservletConfig, java.lang.String iassemblySourceFile, java.lang.String iparserClass)
          Assemble the system, given the root EventGateway, an XML assembly decriptor name, and a specific SAX parser class.
 

Method Detail

assemble

public void assemble(EventGateway irootGateway,
                     javax.servlet.ServletConfig iservletConfig,
                     java.lang.String iassemblySourceFile)
Assemble the system, given the root EventGateway and the XML assembly decriptor name. The default parser will be used.


assemble

public void assemble(EventGateway irootGateway,
                     javax.servlet.ServletConfig iservletConfig,
                     java.lang.String iassemblySourceFile,
                     java.lang.String iparserClass)
Assemble the system, given the root EventGateway, an XML assembly decriptor name, and a specific SAX parser class.



Copyright © 2001 Enhydra.org