Class EntryFactory
- java.lang.Object
 - 
- org.apache.jackrabbit.jcr2spi.hierarchy.EntryFactory
 
 
- 
public class EntryFactory extends Object
EntryFactory... 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntryFactory.InvalidationStrategyStrategy for invalidating item statesstatic interfaceEntryFactory.NodeEntryListener 
- 
Constructor Summary
Constructors Constructor Description EntryFactory(TransientItemStateFactory isf, IdFactory idFactory, EntryFactory.NodeEntryListener listener, PathFactory pathFactory)Create a new instance of theEntryFactory. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeEntrycreateNodeEntry(NodeEntry parent, Name qName, String uniqueId)PropertyEntrycreatePropertyEntry(NodeEntry parent, Name qName)NodeEntrycreateRootEntry()IdFactorygetIdFactory()EntryFactory.InvalidationStrategygetInvalidationStrategy()TransientItemStateFactorygetItemStateFactory()PathFactorygetPathFactory()voidnotifyEntryCreated(NodeEntry entry)voidnotifyIdChange(NodeEntry entry, String previousUniqueID) 
 - 
 
- 
- 
Constructor Detail
- 
EntryFactory
public EntryFactory(TransientItemStateFactory isf, IdFactory idFactory, EntryFactory.NodeEntryListener listener, PathFactory pathFactory)
Create a new instance of theEntryFactory.- Parameters:
 isf-idFactory-listener-pathFactory-
 
 - 
 
- 
Method Detail
- 
createRootEntry
public NodeEntry createRootEntry()
- Returns:
 - the root entry.
 
 
- 
createPropertyEntry
public PropertyEntry createPropertyEntry(NodeEntry parent, Name qName)
 
- 
getIdFactory
public IdFactory getIdFactory()
 
- 
getPathFactory
public PathFactory getPathFactory()
 
- 
getItemStateFactory
public TransientItemStateFactory getItemStateFactory()
 
- 
notifyEntryCreated
public void notifyEntryCreated(NodeEntry entry)
 
- 
getInvalidationStrategy
public EntryFactory.InvalidationStrategy getInvalidationStrategy()
- Returns:
 - the strategy used for item state invalidation (refresh)
 
 
 - 
 
 -