Specification driven assembly
-----------------------------
Key: QI-321
URL: http://issues.ops4j.org/browse/QI-321
Project: Qi4j
Issue Type: New Feature
Reporter: Niclas Hedhman
One option to do assembly is to have DSL like specifications that drives the
last steps of assembly. For instance, at Module, Layer and Application level be
allowed to define a Specification as a filter with a callback to custom code
for final additions,
{code}
public interface AssemblyVisitor
{
void visit( ModuleAssembly assembly, EntityDeclaration decl, Class<?
extends EntityComposite> type );
void visit( ModuleAssembly assembly, ServiceDeclaration decl, Class<?
extends ServiceComposite> type );
void visit( ModuleAssembly assembly, TransientDeclaration decl, Class<?
extends TransientComposite> type );
void visit( ModuleAssembly assembly, ObjectDeclaration decl, Class<?> type
);
void visit( ModuleAssembly assembly, ValueDeclaration decl, Class<? extends
ValueComposite> type );
}
{code}
and some type of Specification interface for the condition/filtering... TBD
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev