|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface SourceFileRecorder
A simple interface that allows an implementer to control how Java source file metadata is mapped to properties (including primary and mixin types) in the graph.
Implementations of this class must provide a public, no-argument constructor.
To use, supply the implementation class name to a JavaFileSequencer
object.
Each instance will be reused for multiple JavaFileSequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)
sequence calls , so implementations of this interface must be thread-safe.
Method Summary | |
---|---|
void |
record(Sequencer.Context context,
Node outputNode,
JavaMetadata javaMetadata)
Records a source file. |
Method Detail |
---|
void record(Sequencer.Context context, Node outputNode, JavaMetadata javaMetadata) throws RepositoryException
context
- the sequencer contextoutputNode
- the Node
outputjavaMetadata
- the metadata for the Java source file
RepositoryException
- if anything fails during the sequencing process
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |