org.apache.jackrabbit.spi.commons.logging
Class IdFactoryLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.IdFactoryLogger
- All Implemented Interfaces:
- IdFactory
public class IdFactoryLogger
- extends AbstractLogger
- implements IdFactory
Log wrapper for an IdFactory.
|
Constructor Summary |
IdFactoryLogger(IdFactory idFactory,
LogWriter writer)
Create a new instance for the given idFactory which uses
writer for persisting log messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 -
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
toJcrIdentifier
public String toJcrIdentifier(NodeId nodeId)
- Specified by:
toJcrIdentifier in interface IdFactory
fromJcrIdentifier
public NodeId fromJcrIdentifier(String jcrIdentifier)
- Specified by:
fromJcrIdentifier in interface IdFactory
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.