org.apache.beehive.controls.runtime.assembly
Class AppAssemblyContext.Factory

Object
  extended by AppAssemblyContext.Factory
All Implemented Interfaces:
ControlAssemblyContext.Factory
Enclosing class:
AppAssemblyContext

public static class AppAssemblyContext.Factory
extends Object
implements ControlAssemblyContext.Factory


Constructor Summary
AppAssemblyContext.Factory()
           
 
Method Summary
 AppAssemblyContext newInstance(Class controlIntfOrExt, Map<String,String> bindings, Set<String> clients, File moduleRoot, String moduleName, File srcOutputRoot)
          Creates a new instance of a ControlAssemblyContext implementation.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppAssemblyContext.Factory

public AppAssemblyContext.Factory()
Method Detail

newInstance

public AppAssemblyContext newInstance(Class controlIntfOrExt,
                                      Map<String,String> bindings,
                                      Set<String> clients,
                                      File moduleRoot,
                                      String moduleName,
                                      File srcOutputRoot)
                               throws ControlAssemblyException
Description copied from interface: ControlAssemblyContext.Factory
Creates a new instance of a ControlAssemblyContext implementation.

Specified by:
newInstance in interface ControlAssemblyContext.Factory
Parameters:
controlIntfOrExt - public interface/extension of the control type being assembled
bindings - map of control implementation bindings, null means use defaults.
clients - set of clients that use this control type.
moduleRoot - file root of the J2EE module containing the control clients to be assembled
moduleName - name of the J2EE module containing the control clients to be assembled
srcOutputRoot - file root of a location where assemblers should output any sources they create that may need further processing before use.
Returns:
a new instance of a ControlAssemblyContext implementation
Throws:
ControlAssemblyException