org.eclipse.osgi.framework.debug
Class Debug

java.lang.Object
  extended by org.eclipse.osgi.framework.debug.Debug

public class Debug
extends java.lang.Object

This class has debug constants which can be used by the Framework implementation and Adaptor implementations

Since:
3.1

Field Summary
static boolean DEBUG_BUNDLE_TIME
          Bundle time debug flag.
static boolean DEBUG_ENABLED
          Indicates if tracing is enabled
static boolean DEBUG_EVENTS
          Events debug flag.
static boolean DEBUG_FILTER
          Filter debug flag.
static boolean DEBUG_GENERAL
          General debug flag.
static boolean DEBUG_HOOKS
          Hooks debug flag.
static boolean DEBUG_LOADER
          Loader debug flag.
static boolean DEBUG_MANIFEST
          Manifest debug flag.
static boolean DEBUG_MESSAGE_BUNDLES
          Message debug flag.
static boolean DEBUG_PACKAGEADMIN
          PackageAdmin debug flag.
static boolean DEBUG_PACKAGEADMIN_TIMING
          PackageAdmin timing debug flag.
static boolean DEBUG_PACKAGES
          Packages debug flag.
static boolean DEBUG_SECURITY
          Security debug flag.
static boolean DEBUG_SERVICES
          Services debug flag.
static boolean DEBUG_STARTLEVEL
          Start level debug flag.
static java.lang.String ECLIPSE_OSGI
          Base debug option key (org.eclispe.osgi).
static boolean MONITOR_ACTIVATION
          Monitor activation debug flag.
static java.lang.String OPTION_DEBUG_BUNDLE_TIME
          Bundle time Debug option key.
static java.lang.String OPTION_DEBUG_EVENTS
          Events Debug option key.
static java.lang.String OPTION_DEBUG_FILTER
          Filter Debug option key.
static java.lang.String OPTION_DEBUG_GENERAL
          General Debug option key.
static java.lang.String OPTION_DEBUG_HOOKS
          Services Debug option key.
static java.lang.String OPTION_DEBUG_LOADER
          Loader Debug option key.
static java.lang.String OPTION_DEBUG_MANIFEST
          Manifest Debug option key.
static java.lang.String OPTION_DEBUG_MESSAGE_BUNDLES
          Message bundles Debug option key.
static java.lang.String OPTION_DEBUG_PACKAGEADMIN
          PackageAdmin Debug option key.
static java.lang.String OPTION_DEBUG_PACKAGEADMIN_TIMING
          PackageAdmin timing Debug option key.
static java.lang.String OPTION_DEBUG_PACKAGES
          Packages Debug option key.
static java.lang.String OPTION_DEBUG_SECURITY
          Security Debug option key.
static java.lang.String OPTION_DEBUG_SERVICES
          Services Debug option key.
static java.lang.String OPTION_DEBUG_STARTLEVEL
          Start level Debug option key.
static java.lang.String OPTION_MONITOR_ACTIVATION
          Monitor activation Debug option key.
static java.io.PrintStream out
          The PrintStream to print debug messages to.
 
Constructor Summary
Debug()
           
 
Method Summary
static void print(boolean x)
          Prints x to the PrintStream
static void print(char x)
          Prints x to the PrintStream
static void print(char[] x)
          Prints x to the PrintStream
static void print(double x)
          Prints x to the PrintStream
static void print(float x)
          Prints x to the PrintStream
static void print(int x)
          Prints x to the PrintStream
static void print(long x)
          Prints x to the PrintStream
static void print(java.lang.Object x)
          Prints x to the PrintStream
static void print(java.lang.String x)
          Prints x to the PrintStream
static void println(boolean x)
          Prints x to the PrintStream
static void println(char x)
          Prints x to the PrintStream
static void println(char[] x)
          Prints x to the PrintStream
static void println(double x)
          Prints x to the PrintStream
static void println(float x)
          Prints x to the PrintStream
static void println(int x)
          Prints x to the PrintStream
static void println(long x)
          Prints x to the PrintStream
static void println(java.lang.Object x)
          Prints x to the PrintStream
static void println(java.lang.String x)
          Prints x to the PrintStream
static void printStackTrace(java.lang.Throwable t)
          Prints t to the PrintStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_ENABLED

public static boolean DEBUG_ENABLED
Indicates if tracing is enabled


DEBUG_GENERAL

public static boolean DEBUG_GENERAL
General debug flag.


DEBUG_BUNDLE_TIME

public static boolean DEBUG_BUNDLE_TIME
Bundle time debug flag.


DEBUG_LOADER

public static boolean DEBUG_LOADER
Loader debug flag.


DEBUG_EVENTS

public static boolean DEBUG_EVENTS
Events debug flag.


DEBUG_SERVICES

public static boolean DEBUG_SERVICES
Services debug flag.


DEBUG_HOOKS

public static boolean DEBUG_HOOKS
Hooks debug flag.


DEBUG_PACKAGES

public static boolean DEBUG_PACKAGES
Packages debug flag.


DEBUG_MANIFEST

public static boolean DEBUG_MANIFEST
Manifest debug flag.


DEBUG_FILTER

public static boolean DEBUG_FILTER
Filter debug flag.


DEBUG_SECURITY

public static boolean DEBUG_SECURITY
Security debug flag.


DEBUG_STARTLEVEL

public static boolean DEBUG_STARTLEVEL
Start level debug flag.


DEBUG_PACKAGEADMIN

public static boolean DEBUG_PACKAGEADMIN
PackageAdmin debug flag.


DEBUG_PACKAGEADMIN_TIMING

public static boolean DEBUG_PACKAGEADMIN_TIMING
PackageAdmin timing debug flag.


DEBUG_MESSAGE_BUNDLES

public static boolean DEBUG_MESSAGE_BUNDLES
Message debug flag.


MONITOR_ACTIVATION

public static boolean MONITOR_ACTIVATION
Monitor activation debug flag.


ECLIPSE_OSGI

public static final java.lang.String ECLIPSE_OSGI
Base debug option key (org.eclispe.osgi).

See Also:
Constant Field Values

OPTION_DEBUG_GENERAL

public static final java.lang.String OPTION_DEBUG_GENERAL
General Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_BUNDLE_TIME

public static final java.lang.String OPTION_DEBUG_BUNDLE_TIME
Bundle time Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_LOADER

public static final java.lang.String OPTION_DEBUG_LOADER
Loader Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_EVENTS

public static final java.lang.String OPTION_DEBUG_EVENTS
Events Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_SERVICES

public static final java.lang.String OPTION_DEBUG_SERVICES
Services Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_HOOKS

public static final java.lang.String OPTION_DEBUG_HOOKS
Services Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_PACKAGES

public static final java.lang.String OPTION_DEBUG_PACKAGES
Packages Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_MANIFEST

public static final java.lang.String OPTION_DEBUG_MANIFEST
Manifest Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_FILTER

public static final java.lang.String OPTION_DEBUG_FILTER
Filter Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_SECURITY

public static final java.lang.String OPTION_DEBUG_SECURITY
Security Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_STARTLEVEL

public static final java.lang.String OPTION_DEBUG_STARTLEVEL
Start level Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_PACKAGEADMIN

public static final java.lang.String OPTION_DEBUG_PACKAGEADMIN
PackageAdmin Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_PACKAGEADMIN_TIMING

public static final java.lang.String OPTION_DEBUG_PACKAGEADMIN_TIMING
PackageAdmin timing Debug option key.

See Also:
Constant Field Values

OPTION_MONITOR_ACTIVATION

public static final java.lang.String OPTION_MONITOR_ACTIVATION
Monitor activation Debug option key.

See Also:
Constant Field Values

OPTION_DEBUG_MESSAGE_BUNDLES

public static final java.lang.String OPTION_DEBUG_MESSAGE_BUNDLES
Message bundles Debug option key.

See Also:
Constant Field Values

out

public static java.io.PrintStream out
The PrintStream to print debug messages to.

Constructor Detail

Debug

public Debug()
Method Detail

print

public static void print(boolean x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(char x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(int x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(long x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(float x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(double x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(char[] x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(java.lang.String x)
Prints x to the PrintStream

Parameters:
x -

print

public static void print(java.lang.Object x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(boolean x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(char x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(int x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(long x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(float x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(double x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(char[] x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(java.lang.String x)
Prints x to the PrintStream

Parameters:
x -

println

public static void println(java.lang.Object x)
Prints x to the PrintStream

Parameters:
x -

printStackTrace

public static void printStackTrace(java.lang.Throwable t)
Prints t to the PrintStream

Parameters:
t -


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.