|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.servletspy.handler.filter.PackageFilter
| Field Summary | |
static java.lang.String |
PARAM_EXCLUDES
Configuration parameter name used to pass a list of space separated package names to exclude. |
protected java.util.Set |
pkgsNames
The set of packages not to consider within the serialization process. |
| Constructor Summary | |
PackageFilter()
Constructor. |
|
| Method Summary | |
protected void |
addFromString(java.lang.String clazzes)
|
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 |
| Field Detail |
public static final java.lang.String PARAM_EXCLUDES
protected java.util.Set pkgsNames
| Constructor Detail |
public PackageFilter()
| Method Detail |
protected void addFromString(java.lang.String clazzes)
public void destroy()
destroy in interface ILifecycle
public final void handle(IContext context)
throws java.lang.Exception
IContextHandlerhandle 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.
handle in interface IContextHandlercontext - The current serialization context
java.lang.Exception - To signal serialization problemspublic void init(Param[] params)
init in interface ILifecycleparams - The initialization parameters
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||