org.modeshape.sequencer.classfile

## Interface ClassFileRecorder

- All Known Implementing Classes:
    DefaultClassFileRecorder

      @ThreadSafe
      public interface ClassFileRecorder

  A simple interface that allows an implementer to control how class file metadata 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 `ClassFileSequencer` object. Each instance will be reused for multiple `sequence calls`, so implementations of this interface must be thread-safe.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `recordClass(Sequencer.Context context, Node outputNode, ClassMetadata classMetadata)` Records a row using the provided `Node` node.

- - ### Method Detail

    - #### recordClass

          void recordClass(Sequencer.Context context,
                         Node outputNode,
                         ClassMetadata classMetadata)
                           throws RepositoryException

      Records a row using the provided `Node` node.
      Parameters:
        `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 file
      Throws:
        `RepositoryException` - if anything fails during the recording process

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.