net.sourceforge.servletspy.handler.std
Class CycleDetectorHandler

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

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

Author:
arno schumacher

Constructor Summary
CycleDetectorHandler()
           
 
Method Summary
 void destroy()
           
 void handle(IContext context)
          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

CycleDetectorHandler

public CycleDetectorHandler()
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 final void handle(IContext context)
                  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:
context - The current serialization context
Throws:
java.lang.Exception - To signal serialization problems


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