org.apache.jackrabbit.spi.commons.logging
Class IdFactoryLogger

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.logging.AbstractLogger
      extended by org.apache.jackrabbit.spi.commons.logging.IdFactoryLogger
All Implemented Interfaces:
IdFactory

public class IdFactoryLogger
extends AbstractLogger
implements IdFactory

Log wrapper for an IdFactory.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
AbstractLogger.Callable, AbstractLogger.SafeCallable
 
Field Summary
 
Fields inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
writer
 
Constructor Summary
IdFactoryLogger(IdFactory idFactory, LogWriter writer)
          Create a new instance for the given idFactory which uses writer for persisting log messages.
 
Method Summary
 NodeId createNodeId(NodeId parentId, Path path)
           
 NodeId createNodeId(String uniqueID)
           
 NodeId createNodeId(String uniqueID, Path path)
           
 PropertyId createPropertyId(NodeId parentId, Name propertyName)
           
 IdFactory getIdFactory()
           
 
Methods inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
execute, execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdFactoryLogger

public IdFactoryLogger(IdFactory idFactory,
                       LogWriter writer)
Create a new instance for the given idFactory which uses writer for persisting log messages.

Parameters:
idFactory -
writer -
Method Detail

getIdFactory

public IdFactory getIdFactory()
Returns:
the wrapped IdFactory

createPropertyId

public PropertyId createPropertyId(NodeId parentId,
                                   Name propertyName)
Specified by:
createPropertyId in interface IdFactory

createNodeId

public NodeId createNodeId(NodeId parentId,
                           Path path)
Specified by:
createNodeId in interface IdFactory

createNodeId

public NodeId createNodeId(String uniqueID,
                           Path path)
Specified by:
createNodeId in interface IdFactory

createNodeId

public NodeId createNodeId(String uniqueID)
Specified by:
createNodeId in interface IdFactory


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.