Class NameFactoryLogger
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.logging.AbstractLogger
-
- 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 aNameFactory.
-
-
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
Constructors Constructor Description NameFactoryLogger(org.apache.jackrabbit.spi.NameFactory nameFactory, LogWriter writer)Create a new instance for the givennameFactorywhich useswriterfor persisting log messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.spi.Namecreate(String nameString)org.apache.jackrabbit.spi.Namecreate(String namespaceURI, String localName)org.apache.jackrabbit.spi.NameFactorygetNameFactory()-
Methods inherited from class org.apache.jackrabbit.spi.commons.logging.AbstractLogger
execute, execute
-
-
-
-
Constructor Detail
-
NameFactoryLogger
public NameFactoryLogger(org.apache.jackrabbit.spi.NameFactory nameFactory, LogWriter writer)Create a new instance for the givennameFactorywhich useswriterfor 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:
createin interfaceorg.apache.jackrabbit.spi.NameFactory
-
create
public org.apache.jackrabbit.spi.Name create(String nameString)
- Specified by:
createin interfaceorg.apache.jackrabbit.spi.NameFactory
-
-