ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr
Class Sequencers.SequencingContext

java.lang.Object
  extended by org.modeshape.jcr.Sequencers.SequencingContext
All Implemented Interfaces:
Sequencer.Context
Enclosing class:
Sequencers

@Immutable
protected static final class Sequencers.SequencingContext
extends Object
implements Sequencer.Context


Constructor Summary
protected Sequencers.SequencingContext(DateTime now, ValueFactory jcrValueFactory)
           
 
Method Summary
 Calendar getTimestamp()
          Get the timestamp of the sequencing.
 ValueFactory valueFactory()
          Returns a ValueFactory instance which can be used to perform additional type conversions, from what ValueFactory offers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequencers.SequencingContext

protected Sequencers.SequencingContext(DateTime now,
                                       ValueFactory jcrValueFactory)
Method Detail

getTimestamp

public Calendar getTimestamp()
Description copied from interface: Sequencer.Context
Get the timestamp of the sequencing. This is always the timestamp of the change event that is being processed.

Specified by:
getTimestamp in interface Sequencer.Context
Returns:
timestamp the "current" timestamp; never null

valueFactory

public ValueFactory valueFactory()
Description copied from interface: Sequencer.Context
Returns a ValueFactory instance which can be used to perform additional type conversions, from what ValueFactory offers

Specified by:
valueFactory in interface Sequencer.Context
Returns:
a non-null value factory, using the output node's session as context

ModeShape Distribution 3.0.0.Beta4

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