[
https://jira.jboss.org/jira/browse/DNA-62?page=com.atlassian.jira.plugin....
]
Randall Hauch edited comment on DNA-62 at 12/27/09 12:31 PM:
-------------------------------------------------------------
It'd be interesting to demonstrate how having multiple sequencers allows us to chain
things together. For example, the ZIP file sequencer should create the nodes representing
the contents of a ZIP (and JAR) file, which means we'd create nt:file nodes
representing each .class file in the JAR file (or .java source file if a source JAR). The
act of creating those file nodes should activate the Java classfile sequencer for .class
files or the Java source sequencer for .java files.
This way, we don't actually have to wire together the ZIP/JAR sequencer to invoke the
Java source or classfile sequencer.
was (Author: rhauch):
It'd be interesting to demonstrate how having multiple sequencers allows us to
chain things together. For example, the ZIP file sequencer should create the nodes
representing the contents of a ZIP (and JAR) file, which means we'd create nt:file
nodes representing each .class file in the JAR file (or .java source file if a source
JAR). The act of creating those file nodes should activate the Java classfile sequencer
for .class files or the Java source sequencer for .java files.
Sequence Java class files to extract the class structure with
annotations
-------------------------------------------------------------------------
Key: DNA-62
URL:
https://jira.jboss.org/jira/browse/DNA-62
Project: DNA
Issue Type: Feature Request
Components: Sequencers
Reporter: Randall Hauch
Assignee: Brian Carothers
Fix For: 1.1
Attachments: DNA-62_draft.patch
This use case comes from a discussion about starting up the Microcontainer, and the
desire to have a single processor of the JAR files to extract into a centralized
repository the runtime annotations. Right now the annotations are scanned by each
component/service that needs them. This feature would obviate the scanning being done by
each component/service.
Consider using
http://scannotation.sourceforge.net/ for doing the actual scanning.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira