net.sourceforge.servletspy.handler.std
Class DebugHandler

java.lang.Object
  extended bynet.sourceforge.servletspy.handler.std.DebugHandler
All Implemented Interfaces:
IContextHandler, ILifecycle

public final class DebugHandler
extends java.lang.Object
implements IContextHandler

Author:
arno schumacher

Constructor Summary
DebugHandler()
           
 
Method Summary
 void destroy()
           
 void handle(IContext pContext)
          The handle method of the IContextHandler is called by the engine each time a subject object should be serialized.
 void init(Param[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugHandler

public DebugHandler()
Method Detail

init

public void init(Param[] params)
Specified by:
init in interface ILifecycle
Parameters:
params - The initialization parameters

destroy

public void destroy()
Specified by:
destroy in interface ILifecycle

handle

public void handle(IContext pContext)
            throws java.lang.Exception
Description copied from interface: IContextHandler
The handle method of the IContextHandler is called by the engine each time a subject object should be serialized. The IContextHandler may do the serialization itself using the operations provided by the IContext or pass the serialization task to the next IContextHandler by calling the proceed method on the IContext object.

Specified by:
handle in interface IContextHandler
Parameters:
pContext - The current serialization context
Throws:
java.lang.Exception - To signal serialization problems


Copyright 2005-2005-2006 Arno Schumacher. All Rights Reserved.