org.apache.beehive.controls.api.assembly
Interface ControlAssemblyContext.Factory
- All Known Implementing Classes:
- AppAssemblyContext.Factory, EJBAssemblyContext.Factory, WebAppAssemblyContext.Factory
- Enclosing interface:
- ControlAssemblyContext
public static interface ControlAssemblyContext.Factory
Providers of ControlAssemblyContext implementations MUST implement
Factory and newInstance to return their implementation.
Method Summary |
ControlAssemblyContext |
newInstance(Class controlIntfOrExt,
Map<String,String> bindings,
Set<String> clients,
File moduleRoot,
String moduleName,
File srcOutputRoot)
Creates a new instance of a ControlAssemblyContext implementation. |
newInstance
ControlAssemblyContext newInstance(Class controlIntfOrExt,
Map<String,String> bindings,
Set<String> clients,
File moduleRoot,
String moduleName,
File srcOutputRoot)
throws ControlAssemblyException
- Creates a new instance of a ControlAssemblyContext implementation.
- Parameters:
controlIntfOrExt
- public interface/extension of the control
type being assembledbindings
- 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 assembledmoduleName
- name of the J2EE module containing the
control clients to be assembledsrcOutputRoot
- 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