@ThreadSafe public interface ClassFileRecorder
Implementations of this class must provide a public, no-argument constructor.
To use, supply the implementation class name to a ClassFileSequencer
object. Each instance will be reused for multiple
sequence calls
, so implementations of this interface must be thread-safe.
Modifier and Type | Method and Description |
---|---|
void |
recordClass(Sequencer.Context context,
Node outputNode,
ClassMetadata classMetadata)
Records a row using the provided
Node node. |
void recordClass(Sequencer.Context context, Node outputNode, ClassMetadata classMetadata) throws RepositoryException
Node
node.context
- the Sequencer.Context
outputNode
- the node to which the new content should be sequenced. This may either be new or existent
Sequencer.execute(javax.jcr.Property, javax.jcr.Node, org.modeshape.jcr.api.sequencer.Sequencer.Context)
classMetadata
- the metadata for the class fileRepositoryException
- if anything fails during the recording processCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.