| java.lang.Object org.apache.beehive.controls.runtime.assembly.Assembler
Assembler | public class Assembler (Code) | | Helper class to execute assembly logic.
|
assemble | public static void assemble(File moduleRoot, String moduleName, File srcOutputRoot, String factoryName, Map<String, String> controlTypeToImpl, Map<String, Set<String>> controlTypeToClients, ClassLoader cl) throws ControlAssemblyException, IOException(Code) | | Executes basic assembly algorithm. For each control type & impl specified, query each impl for the presence
of an assembler -- for each assembler present, build the specified ControlAssemblyContext implementation,
create an instance of the assembler and execute it.
Parameters: moduleRoot - dir root of the module Parameters: moduleName - name of the module Parameters: srcOutputRoot - dir where assemblers can output source files Parameters: factoryName - name of the ControlAssemblyContext factory to use Parameters: controlTypeToImpl - map of control type name to control impl for all control types to be assembled in this module Parameters: controlTypeToClients - map of control type name to a set of control clients (in this module) that use this type Parameters: cl - classloader used to load factories and assemblers throws: ControlAssemblyException - throws: IOException - |
|
|