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

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

public class LogEntryImpl
extends java.lang.Object
implements LogEntry


Constructor Summary
LogEntryImpl(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceReference service, int level, java.lang.String message, java.lang.Throwable exception)
           
 
Method Summary
 org.osgi.framework.Bundle getBundle()
           
 java.lang.Throwable getException()
           
 int getLevel()
           
 java.lang.String getMessage()
           
 org.osgi.framework.ServiceReference getServiceReference()
           
 long getTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEntryImpl

public LogEntryImpl(org.osgi.framework.Bundle bundle,
                    org.osgi.framework.ServiceReference service,
                    int level,
                    java.lang.String message,
                    java.lang.Throwable exception)
Method Detail

getBundle

public org.osgi.framework.Bundle getBundle()
Specified by:
getBundle in interface LogEntry

getServiceReference

public org.osgi.framework.ServiceReference getServiceReference()
Specified by:
getServiceReference in interface LogEntry

getLevel

public int getLevel()
Specified by:
getLevel in interface LogEntry

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface LogEntry

getException

public java.lang.Throwable getException()
Specified by:
getException in interface LogEntry

getTime

public long getTime()
Specified by:
getTime in interface LogEntry


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