net.sourceforge.servletspy
Interface IContextHandler

All Superinterfaces:
ILifecycle
All Known Implementing Classes:
AbstractClassFilter, AbstractHandler, ArrayTransformer, CycleDetectorHandler, DebugHandler, ListTransformer, MapTransformer, NullHandler, PackageFilter, PageContextHandler, PrimitivesHandler, RequestHandler, ServletContextHandler, SessionContextHandler, StrutsHandler

public interface IContextHandler
extends ILifecycle

The IContextHandler describes an object used to do a subject to node graph serialization.

Author:
arno schumacher

Method Summary
 void handle(IContext context)
          The handle method of the IContextHandler is called by the engine each time a subject object should be serialized.
 
Methods inherited from interface net.sourceforge.servletspy.ILifecycle
destroy, init
 

Method Detail

handle

public void handle(IContext context)
            throws java.lang.Exception
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.

Parameters:
context - The current serialization context
Throws:
java.lang.Exception - To signal serialization problems


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