org.ops4j.pax.logging.service.internal
Class PaxLocationInfoImpl

java.lang.Object
  extended by org.ops4j.pax.logging.service.internal.PaxLocationInfoImpl
All Implemented Interfaces:
PaxLocationInfo

public class PaxLocationInfoImpl
extends java.lang.Object
implements PaxLocationInfo


Constructor Summary
PaxLocationInfoImpl(LocationInfo delegate)
           
 
Method Summary
 java.lang.String getClassName()
          Return the fully qualified class name of the caller making the logging request.
 java.lang.String getFileName()
          Return the file name of the caller.
 java.lang.String getLineNumber()
          Returns the line number of the caller.
 java.lang.String getMethodName()
          Returns the method name of the caller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaxLocationInfoImpl

public PaxLocationInfoImpl(LocationInfo delegate)
Method Detail

getFileName

public java.lang.String getFileName()
Description copied from interface: PaxLocationInfo
Return the file name of the caller.

This information is not always available.

Specified by:
getFileName in interface PaxLocationInfo
Returns:
the file name of the caller.

getClassName

public java.lang.String getClassName()
Description copied from interface: PaxLocationInfo
Return the fully qualified class name of the caller making the logging request.

Specified by:
getClassName in interface PaxLocationInfo
Returns:
the fully qualified class name of the caller making the logging request.

getLineNumber

public java.lang.String getLineNumber()
Description copied from interface: PaxLocationInfo
Returns the line number of the caller.

This information is not always available.

Specified by:
getLineNumber in interface PaxLocationInfo
Returns:
the line number of the caller.

getMethodName

public java.lang.String getMethodName()
Description copied from interface: PaxLocationInfo
Returns the method name of the caller.

Specified by:
getMethodName in interface PaxLocationInfo
Returns:
the method name of the caller.


Copyright © 2006-2010 OPS4J - Open Participation Software for Java. All Rights Reserved.