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

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

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


Constructor Summary
WebAppAssemblyContext.Factory()
           
 
Method Summary
 WebAppAssemblyContext 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

WebAppAssemblyContext.Factory

public WebAppAssemblyContext.Factory()
Method Detail

newInstance

public WebAppAssemblyContext 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