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

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

public class PathFactoryLogger
extends AbstractLogger
implements PathFactory

Log wrapper for a PathFactory.


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
PathFactoryLogger(PathFactory pathFactory, LogWriter writer)
          Create a new instance for the given pathFactory which uses writer for persisting log messages.
 
Method Summary
 Path create(Name name)
           
 Path create(Name name, int index)
           
 Path create(Path.Element[] elements)
           
 Path create(Path parent, Name name, boolean normalize)
           
 Path create(Path parent, Name name, int index, boolean normalize)
           
 Path create(Path parent, Path relPath, boolean normalize)
           
 Path create(String pathString)
           
 Path.Element createElement(Name name)
           
 Path.Element createElement(Name name, int index)
           
 Path.Element getCurrentElement()
           
 Path.Element getParentElement()
           
 PathFactory getPathFactory()
           
 Path.Element getRootElement()
           
 Path getRootPath()
           
 
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

PathFactoryLogger

public PathFactoryLogger(PathFactory pathFactory,
                         LogWriter writer)
Create a new instance for the given pathFactory which uses writer for persisting log messages.

Parameters:
pathFactory -
writer -
Method Detail

getPathFactory

public PathFactory getPathFactory()
Returns:
the wrapped PathFactory

create

public Path create(Path parent,
                   Path relPath,
                   boolean normalize)
            throws RepositoryException
Specified by:
create in interface PathFactory
Throws:
RepositoryException

create

public Path create(Path parent,
                   Name name,
                   boolean normalize)
            throws RepositoryException
Specified by:
create in interface PathFactory
Throws:
RepositoryException

create

public Path create(Path parent,
                   Name name,
                   int index,
                   boolean normalize)
            throws RepositoryException
Specified by:
create in interface PathFactory
Throws:
RepositoryException

create

public Path create(Name name)
Specified by:
create in interface PathFactory

create

public Path create(Name name,
                   int index)
Specified by:
create in interface PathFactory

create

public Path create(Path.Element[] elements)
Specified by:
create in interface PathFactory

create

public Path create(String pathString)
Specified by:
create in interface PathFactory

createElement

public Path.Element createElement(Name name)
Specified by:
createElement in interface PathFactory

createElement

public Path.Element createElement(Name name,
                                  int index)
Specified by:
createElement in interface PathFactory

getCurrentElement

public Path.Element getCurrentElement()
Specified by:
getCurrentElement in interface PathFactory

getParentElement

public Path.Element getParentElement()
Specified by:
getParentElement in interface PathFactory

getRootElement

public Path.Element getRootElement()
Specified by:
getRootElement in interface PathFactory

getRootPath

public Path getRootPath()
Specified by:
getRootPath in interface PathFactory


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