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

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

public class NameFactoryLogger
extends AbstractLogger
implements org.apache.jackrabbit.spi.NameFactory

Log wrapper for a NameFactory.


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
NameFactoryLogger(org.apache.jackrabbit.spi.NameFactory nameFactory, LogWriter writer)
          Create a new instance for the given nameFactory which uses writer for persisting log messages.
 
Method Summary
 org.apache.jackrabbit.spi.Name create(String nameString)
           
 org.apache.jackrabbit.spi.Name create(String namespaceURI, String localName)
           
 org.apache.jackrabbit.spi.NameFactory getNameFactory()
           
 
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

NameFactoryLogger

public NameFactoryLogger(org.apache.jackrabbit.spi.NameFactory nameFactory,
                         LogWriter writer)
Create a new instance for the given nameFactory which uses writer for persisting log messages.

Parameters:
nameFactory -
writer -
Method Detail

getNameFactory

public org.apache.jackrabbit.spi.NameFactory getNameFactory()
Returns:
the wrapped NameFactory

create

public org.apache.jackrabbit.spi.Name create(String namespaceURI,
                                             String localName)
Specified by:
create in interface org.apache.jackrabbit.spi.NameFactory

create

public org.apache.jackrabbit.spi.Name create(String nameString)
Specified by:
create in interface org.apache.jackrabbit.spi.NameFactory


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