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
 void recordClass(StreamSequencerContext context, SequencerOutput output, ClassMetadata classMetadata)
          Records a row using the provided SequencerOutput instance.
 

Method Detail

recordClass

void recordClass(StreamSequencerContext context,
                 SequencerOutput output,
                 ClassMetadata classMetadata)
Records a row using the provided SequencerOutput instance.

Parameters:
context - the sequencer context
output - the StreamSequencer output
classMetadata - the metadata for the class file


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