Author: rich
Date: Thu May 5 09:40:42 2005
New Revision: 168352
URL: http://svn.apache.org/viewcvs?rev=168352&view=rev
Log:
Fixed the AnnotationReader class to be Serializable. An instance of this class
is stored in the ServletContext, and if the ServletContext gets serialized, it
will produce NotSerializableExceptions.
tests: bvt in netui (WinXP)
BB: self (linux)
Modified:
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/AnnotationReader.java
Modified:
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/AnnotationReader.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/AnnotationReader.java?rev=168352&r1=168351&r2=168352&view=diff
==============================================================================
---
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/AnnotationReader.java
(original)
+++
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/AnnotationReader.java
Thu May 5 09:40:42 2005
@@ -29,12 +29,14 @@
import javax.servlet.ServletContext;
import java.io.InputStream;
import java.io.IOException;
+import java.io.Serializable;
import java.lang.reflect.Member;
/**
* Utility for reading XML files that describe annotations in classes. These
files are generated during Page Flow build.
*/
public class AnnotationReader
+ implements Serializable
{
private static final Logger _log = Logger.getInstance(
AnnotationReader.class );
private static final String CACHE_ATTR = InternalConstants.ATTR_PREFIX +
"annCache";