org.apache.beehive.controls.api.assembly
Interface ControlAssembler

All Known Implementing Classes:
DefaultControlAssembler

public interface ControlAssembler

Control implementations may need to do build-time work on or impacted by their control client(s), such as side-effecting their client's deployment descriptors, or generating additional files that are implementation- specific. The build phase where this work is done is called assembly, and occurs at the granularity level of the J2EE module. The control author participates in this phase by authoring classes that implement the ControlAssembler interface, and associating such classes with control implementations. Instances of ControlAssembler are then called at assembly-time by build tools.


Method Summary
 void assemble(ControlAssemblyContext cac)
          A ControlAssembler implementation's assemble method is called once per control assembler per module per assembly-time pass.
 

Method Detail

assemble

void assemble(ControlAssemblyContext cac)
              throws ControlAssemblyException
A ControlAssembler implementation's assemble method is called once per control assembler per module per assembly-time pass. The call passes a ControlAssemblyContext, from which information such as the list of client classes in the module that use the control can be obtained.

Throws:
ControlAssemblyException