org.apache.openejb.util
Class Debug

java.lang.Object
  extended by org.apache.openejb.util.Debug

public class Debug
extends Object

Version:
$Rev: 751378 $ $Date: 2009-03-08 07:54:35 +0100 (So, 08. Mär 2009) $

Constructor Summary
Debug()
           
 
Method Summary
static Map<String,Object> contextToMap(Context context)
           
static void contextToMap(Context context, String baseName, Map<String,Object> results)
           
static List<Field> getFields(Class clazz)
           
static Map<String,Object> printContext(Context context)
           
static Map<String,Object> printContext(Context context, PrintStream out)
           
static Map<String,Object> printContextValues(Context context)
           
static Map<String,Object> printContextValues(Context context, PrintStream out)
           
static String printStackTrace(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debug

public Debug()
Method Detail

printStackTrace

public static String printStackTrace(Throwable t)

contextToMap

public static Map<String,Object> contextToMap(Context context)
                                       throws NamingException
Throws:
NamingException

contextToMap

public static void contextToMap(Context context,
                                String baseName,
                                Map<String,Object> results)
                         throws NamingException
Throws:
NamingException

printContext

public static Map<String,Object> printContext(Context context)
                                       throws NamingException
Throws:
NamingException

printContext

public static Map<String,Object> printContext(Context context,
                                              PrintStream out)
                                       throws NamingException
Throws:
NamingException

printContextValues

public static Map<String,Object> printContextValues(Context context)
                                             throws NamingException
Throws:
NamingException

printContextValues

public static Map<String,Object> printContextValues(Context context,
                                                    PrintStream out)
                                             throws NamingException
Throws:
NamingException

getFields

public static List<Field> getFields(Class clazz)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.