de.uplanet.lucy.server.auxiliaries
Class ObjectInspector

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.ObjectInspector

@VelocityCallable(value="singleton")
public final class ObjectInspector
extends java.lang.Object

Used to inspect an object.

Version:
$Revision: 77958 $

Constructor Summary
ObjectInspector()
          Construct a new ObjectInspector.
 
Method Summary
 Stopwatch builtinStopwatch()
          Deprecated. Use getBuiltinStopwatch() instead.
 void error(java.lang.String p_str)
           
 void gc()
          Run finalization and trigger garbage collection.
 Stopwatch getBuiltinStopwatch()
          Get the built-in stopwatch.
 void info(java.lang.String p_str)
           
 java.lang.String inspect(java.lang.Object p_obj)
          Inspect the given object.
 Stopwatch stopwatch()
          Get the built-in stopwatch.
 void warn(java.lang.String p_str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInspector

public ObjectInspector()
Construct a new ObjectInspector.

Method Detail

inspect

public java.lang.String inspect(java.lang.Object p_obj)
Inspect the given object.


info

public void info(java.lang.String p_str)

warn

public void warn(java.lang.String p_str)

error

public void error(java.lang.String p_str)

builtinStopwatch

@Deprecated
public Stopwatch builtinStopwatch()
Deprecated. Use getBuiltinStopwatch() instead.

Get the built-in stopwatch.

Returns:
A reference to the built-in stopwatch.

getBuiltinStopwatch

public Stopwatch getBuiltinStopwatch()
Get the built-in stopwatch.

Returns:
A reference to the built-in stopwatch.

stopwatch

public Stopwatch stopwatch()
Get the built-in stopwatch.

Returns:
A new stopwatch instance.

gc

public void gc()
Run finalization and trigger garbage collection.



Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.