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

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

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


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

EJBAssemblyContext.Factory

public EJBAssemblyContext.Factory()
Method Detail

newInstance

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