svn commit: r165047 - in /incubator/beehive/trunk: ./ ant/ controls/ controls/src/api/org/apache/beehive/controls/api/bean/ controls/src/api/org/apache/beehive/controls/api/context/ controls/src/runtime/org/apache/beehive/controls/runtime/bean/ controls/src/runtime/org/apache/beehive/controls/runtime/generator/ controls/test/ controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/ controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/ controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/ controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/ controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/ controls/test/src/controls/org/apache/beehive/controls/test/controls/event/ controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/ controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/ controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/ controls/test/src/controls/org/apache/beehive/controls/test/controls/property/ controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/ controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/ controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/ controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/ netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/ netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/ netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/ netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/ netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/ netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/ samples/controls-blank/src/pkg/ samples/controls-db/src/dbControl/ samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/

27 Apr 2005 20:47:06 -0000

Author: kylem
Date: Wed Apr 27 13:46:49 2005
New Revision: 165047

URL: http://svn.apache.org/viewcvs?rev=165047&view=rev
Log:
Improved serializability checking of ControlImplementation classes, per 
http://issues.apache.org/jira/browse/BEEHIVE-351.  The basic rule is that a 
control impl can either be stateful (and serializable) or stateless.  Note: in 
the stateless case, bean properties may still be serialized;  the 'transient' 
nature of the impl refers only to nested implementation state, not property 
state.

The annotation processor for implementation will now require one of two things 
to be true for a ControlImplementation class:

- the impl class should implement the java.io.Serializable interface indicating 
that it is stateful and serializable.

- the impl class can set the (new) isTransient attribute of 
@ControlImplementation to indicate that the implementation is stateless and 
does not need to be persisted as part of the containing bean's state.  In this 
case, a new impl instance will be created upon demand after deserialization.

THIS CHECKIN WILL REQUIRE EXISTING CONTROL IMPLEMENTATIONS TO EITHER DECLARE 
THEY IMPLEMENT JAVA.IO.SERIALIZABLE OR HAVE 
@ControlImplementation(isTransient=true) IN THEIR DECLARATION.  I've fixed all 
samples and tests in the SVN tree to follow this rule, and Eddie has done the 
same for ControlHaus controls.

A seperate JIRA docs issue (http://issues.apache.org/jira/browse/BEEHIVE-558) 
has been opened to capture the fact that the programming model doc needs a 
better description of state handling for controls.


Modified:
    incubator/beehive/trunk/ant/beehive-runtime.xml
    incubator/beehive/trunk/beehive-imports.xml
    incubator/beehive/trunk/controls/build.xml
    
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/bean/ControlImplementation.java
    
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/context/ControlHandle.java
    
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
    
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlImplementation.java
    incubator/beehive/trunk/controls/test/build.xml
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/AssemblyTestControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/EventImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/HelloImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/InnerOperationImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/OperationImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/InfoTestImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestOverrideControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/HelloCheckedImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ComposerImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/NestedImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/BeanContextRecorderImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ExtendedSimpleControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ListControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/SimpleControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf1Impl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf2Impl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/HelloControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/FeatureInfoControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/HelloControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundPropertyControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/NestPropsImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropEventsImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyConstraintControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropsImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/SinglePropertyImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/BookControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/PersonControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/DefaultThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThread2ControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThread2ControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThread2ControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedMultiThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedSingleThreadControlImpl.jcs
    
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/HelloImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/MethodTestImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/PortfolioControlImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/CtrlImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/BaseControlImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/TestControlImpl.jcs
    
incubator/beehive/trunk/netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/TestControlImpl.jcs
    incubator/beehive/trunk/samples/controls-blank/src/pkg/HelloImpl.jcs
    
incubator/beehive/trunk/samples/controls-db/src/dbControl/DatabaseControlImpl.jcs
    
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/PetsImpl.jcs

Modified: incubator/beehive/trunk/ant/beehive-runtime.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/ant/beehive-runtime.xml?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- incubator/beehive/trunk/ant/beehive-runtime.xml (original)
+++ incubator/beehive/trunk/ant/beehive-runtime.xml Wed Apr 27 13:46:49 2005
@@ -32,4 +32,10 @@
         </ant>
     </target>
 
+    <target name="deploy.controls.webapp.runtime" description="Deploy the 
Beehive controls runtime given a webapp root as -Dwebapp.dir">
+        <ant target="deploy.controls.runtime" dir="${beehive.home}/controls/" 
inheritAll="false">
+            <property name="webapp.dir" value="${webapp.dir}"/>
+        </ant>
+    </target>
+
 </project>

Modified: incubator/beehive/trunk/beehive-imports.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/beehive-imports.xml?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- incubator/beehive/trunk/beehive-imports.xml (original)
+++ incubator/beehive/trunk/beehive-imports.xml Wed Apr 27 13:46:49 2005
@@ -221,6 +221,16 @@
         </sequential>
     </macrodef>
 
+    <macrodef name="deploy-controls">
+        <attribute name="webappDir"/>
+        <sequential>
+            <echo>Deploy Controls to webapp @{webappDir}</echo>
+            <ant antfile="${beehive.home}/ant/beehive-runtime.xml" 
target="deploy.controls.webapp.runtime" inheritAll="false">
+                <property name="webapp.dir" location="@{webappDir}"/>
+            </ant>
+        </sequential>
+    </macrodef>
+
     <macrodef name="undeploy-netui">
         <attribute name="webappDir"/>
         <sequential>

Modified: incubator/beehive/trunk/controls/build.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/build.xml?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- incubator/beehive/trunk/controls/build.xml (original)
+++ incubator/beehive/trunk/controls/build.xml Wed Apr 27 13:46:49 2005
@@ -52,6 +52,7 @@
     <condition property="controls.os" value="unix">
         <os family="unix"/>
     </condition>
+
     <!-- ==================================================================== 
-->
     <!-- usage - output usage   -->
     <!-- ==================================================================== 
-->
@@ -84,6 +85,7 @@
         <echo message=""/>
         <echo message=""/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- Creates the output directories of the build. -->
     <!-- ==================================================================== 
-->
@@ -93,6 +95,7 @@
         <mkdir dir="${jars.dir}"/>
         <mkdir dir="${docs.dir}"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- Compiles the source code of the project. -->
     <!-- ==================================================================== 
-->
@@ -118,6 +121,7 @@
             <fileset dir="${runtime.dir}" includes="**/*.properties"/>
         </copy>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- Jars up the classes, libraries, and resources. -->
     <!-- ==================================================================== 
-->
@@ -143,12 +147,14 @@
         <echo message="|      controls build ending                      |"/>
         <echo message="--------------------------------------------------"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- build_all.  build this project and all inter-project dependencies    
-->
     <!-- ==================================================================== 
-->
     <target name="build_all">
         <antcall target="build"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- clean  -->
     <!-- ==================================================================== 
-->
@@ -156,12 +162,14 @@
         <delete dir="${build.dir}"/>
         <ant dir="./test" target="clean" inheritAll="false"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- clean_all  -->
     <!-- ==================================================================== 
-->
     <target name="clean_all">
         <antcall target="clean"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- redeploy  -->
     <!-- ==================================================================== 
-->
@@ -170,6 +178,7 @@
         <antcall target="build"/>
         <antcall target="deploy"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- redeploy_all  -->
     <!-- ==================================================================== 
-->
@@ -178,6 +187,7 @@
         <antcall target="build_all"/>
         <antcall target="deploy_all"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- deploy -->
     <!-- ==================================================================== 
-->
@@ -190,12 +200,31 @@
         <echo message="|       controls deploy ending                   |"/>
         <echo message="--------------------------------------------------"/>
     </target>
+
     <!-- ==================================================================== 
-->
     <!-- deploy_all -->
     <!-- ==================================================================== 
-->
     <target name="deploy_all">
         <antcall target="deploy"/>
     </target>
+
+    <!-- ==================================================================== 
-->
+    <!-- deploy.controls.runtime -->
+    <!-- ==================================================================== 
-->
+    <target
+            name="deploy.controls.runtime"
+            depends="build_all"
+            description="Deploy the controls runtime to a fully-qualified 
webapp directory specified with the property 'webapp.dir'">
+        <available property="webapp.dir.available" file="${webapp.dir}" 
type="dir"/>
+        <fail unless="webapp.dir.available" message="Can't find the webapp 
directory ${webapp.dir}"/>
+        <echo message="Deploy Controls to webapp rooted at: ${webapp.dir}" />
+        <!-- copy the required libraries -->
+        <copy todir="${webapp.dir}/WEB-INF/lib/" failOnError="true">
+            <fileset refid="controls.fileset"/>
+            <fileset refid="commons-discovery.fileset"/>
+        </copy>
+    </target>
+
     <!-- ==================================================================== 
-->
     <!-- minprod -->
     <!-- ==================================================================== 
-->

Modified: 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/bean/ControlImplementation.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/bean/ControlImplementation.java?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/bean/ControlImplementation.java
 (original)
+++ 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/bean/ControlImplementation.java
 Wed Apr 27 13:46:49 2005
@@ -46,4 +46,10 @@
      * Default implementation does nothing.
      */
     Class<? extends ControlAssembler> assembler() default 
DefaultControlAssembler.class;
+
+    /**
+     * Specifies whether the control implementation class contains state that 
should be
+     * serialized as part of the containing Control/JavaBean or is fully 
stateless/transient. 
+     */
+    boolean isTransient() default false;  // default to assuming stateful
 }

Modified: 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/context/ControlHandle.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/context/ControlHandle.java?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/context/ControlHandle.java
 (original)
+++ 
incubator/beehive/trunk/controls/src/api/org/apache/beehive/controls/api/context/ControlHandle.java
 Wed Apr 27 13:46:49 2005
@@ -25,6 +25,10 @@
  * control events to be fired on the control.  Control container 
implementations will provide
  * implementation of this interface that use container-specific dispatch 
mechanisms to locate
  * the appropriate control container instance when events are fired.
+ * 
+ * Classes implementing the ControlHandle interface should also implement the 
<code>
+ * java.io.Serializable</code> interface.  This will enable handles to be 
serialized /
+ * deserialized as part of event queueing or routing.
  */
 public interface ControlHandle
 {

Modified: 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
 (original)
+++ 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
 Wed Apr 27 13:46:49 2005
@@ -877,14 +877,28 @@
     private synchronized void writeObject(ObjectOutputStream oos) 
                               throws IOException
     {
-        //
-        // Reset any contextual service references held by the implementation 
prior to
-        // serialization.  These will be lazily restored (if necessary) by 
ensureControl.
-        //
         if (_control != null)
         {
-            getImplInitializer().resetServices(this, _control);    
-            _hasServices = false;
+            //
+            // If the implementation class is marked as transient/stateless, 
then reset the
+            // reference to it prior to serialization.  A new instance will be 
created by
+            // ensureControl() upon first use after deserialization.
+            // If the implementation class is not transient, then invoke the 
ImplInitializer
+            // resetServices method to reset all contextual service references 
to null, as
+            // contextual services should never be serializated and always 
reassociated on 
+            // deserialization.
+            //
+            ControlImplementation implAnnot = 
(ControlImplementation)_implClass.getAnnotation(ControlImplementation.class);
+            assert implAnnot != null;
+            if (implAnnot.isTransient())
+            {
+                _control = null;
+            }
+            else
+            {
+                getImplInitializer().resetServices(this, _control);    
+                _hasServices = false;
+            }
         }
 
         oos.defaultWriteObject();

Modified: 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlImplementation.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlImplementation.java?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlImplementation.java
 (original)
+++ 
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlImplementation.java
 Wed Apr 27 13:46:49 2005
@@ -36,6 +36,7 @@
 import com.sun.mirror.type.InterfaceType;
 import com.sun.mirror.type.TypeMirror;
 
+import org.apache.beehive.controls.api.bean.ControlImplementation;
 import org.apache.beehive.controls.api.events.Client;
 import org.apache.beehive.controls.api.events.EventHandler;
 import org.apache.beehive.controls.api.versioning.VersionSupported;
@@ -73,6 +74,32 @@
         _clients = initClients();
 
         initEventAdaptors();
+
+        //
+        // Check serializability of the implementation class.  Any 
non-transient implementation
+        // must implement the java.io.Serializable marker interface to 
indicate that the author
+        // has considered serializability.
+        //
+        ControlImplementation implAnnot = 
_implDecl.getAnnotation(ControlImplementation.class);
+        if (!implAnnot.isTransient())
+        {
+            boolean isSerializable = false;
+            for (InterfaceType superIntf: _implDecl.getSuperinterfaces())
+            {
+                if (superIntf.toString().equals("java.io.Serializable"))
+                {
+                    isSerializable = true;
+                    break;
+                }
+            }
+
+            if (!isSerializable)
+            {
+                env.getMessager().printError(decl.getPosition(),
+                    "A ControlImplementation class must implement the 
java.io.Serializable interface or set the isTransient attribute of 
@ControlImplementation to true");
+
+            }
+        }
 
         //
         // Construct a new initializer class from this implementation class

Modified: incubator/beehive/trunk/controls/test/build.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/build.xml?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- incubator/beehive/trunk/controls/test/build.xml (original)
+++ incubator/beehive/trunk/controls/test/build.xml Wed Apr 27 13:46:49 2005
@@ -201,6 +201,7 @@
         <apt srcdir="${controls.test.controls}" destdir="${build.beans}" 
gendir="${build.beansrc}"
              debug="on" classpathref="test.classpath"
              srcExtensions="*.java,*.jcx,*.jcs">
+            <compilerarg line="-Xmaxerrs 0" />
         </apt>
 
         <!-- Do control assembly. -->

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/AssemblyTestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/AssemblyTestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/AssemblyTestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/assembly/AssemblyTestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -3,7 +3,7 @@
 import org.apache.beehive.controls.api.bean.ControlImplementation;
 
 @ControlImplementation(
-    assembler = AssemblyTestAssembler.class
+    assembler = AssemblyTestAssembler.class, isTransient=true
 )
-public class AssemblyTestControlImpl implements AssemblyTestControl, 
java.io.Serializable
+public class AssemblyTestControlImpl implements AssemblyTestControl
 { }

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/EventImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/EventImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/EventImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/EventImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,7 +4,7 @@
 import org.apache.beehive.controls.api.events.Client;
 
 @ControlImplementation
-public class EventImpl implements Event
+public class EventImpl implements Event, java.io.Serializable
 {
     @Client Event.EventSet1 eventSet1;
     @Client Event.EventSet2 eventSet2;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/HelloImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/HelloImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/HelloImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/HelloImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
 import org.apache.beehive.controls.api.bean.Extensible;
 
 @ControlImplementation
-public class HelloImpl implements Hello, Extensible
+public class HelloImpl implements Hello, Extensible, java.io.Serializable
 { 
     public String _lastVisitor = "<none>";
     int _visitorCount = 0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/InnerOperationImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/InnerOperationImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/InnerOperationImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/InnerOperationImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -1,13 +1,14 @@
 package org.apache.beehive.controls.test.controls.basic;
 
+import java.io.Serializable;
 import java.lang.reflect.Method;
 
 import org.apache.beehive.controls.api.bean.ControlImplementation;
 import org.apache.beehive.controls.api.bean.Extensible;
 import org.apache.beehive.controls.api.events.Client;
 
[EMAIL PROTECTED]
-public class InnerOperationImpl implements Outer.InnerOperation, Extensible
[EMAIL PROTECTED](isTransient=true)
+public class InnerOperationImpl implements Outer.InnerOperation, Extensible, 
Serializable
 {
     public void voidOperation() {};
     public int  intOperation(int intArg) { return intArg; }

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/OperationImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/OperationImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/OperationImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/basic/OperationImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,7 +4,7 @@
 import org.apache.beehive.controls.api.bean.Extensible;
 import org.apache.beehive.controls.api.events.Client;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class OperationImpl implements Operation
 {
     public void voidOperation() {};

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/InfoTestImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/InfoTestImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/InfoTestImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/beaninfo/InfoTestImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
  * A simple test impl that tests using JSR-175 annotations to inject BeanInfo 
attributes
  * for a Control type.
  */
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class InfoTestImpl implements InfoTest
 {
     public void infoTestMethod(int anIntArg, Class aClassArg) {}

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,8 +4,8 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
-public class BindingTestControlImpl 
[EMAIL PROTECTED](isTransient=true)
+public class BindingTestControlImpl
     implements java.io.Serializable, BindingTestControl
 {
     public String getStatus()

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,8 +4,8 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
-public class BindingTestControlOverrideImpl 
[EMAIL PROTECTED](isTransient=true)
+public class BindingTestControlOverrideImpl
     implements java.io.Serializable, BindingTestControl
 {
     public String getStatus()

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,7 +4,7 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class DefaultBindingTestControlImpl 
     implements java.io.Serializable, DefaultBindingTestControl
 {

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,7 +4,7 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class DefaultBindingTestOverrideControlImpl 
     implements java.io.Serializable, DefaultBindingTestControl
 {

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,7 +4,7 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class ExternalBindingTestControlImpl 
     implements java.io.Serializable, ExternalBindingTestControl
 {

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestOverrideControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestOverrideControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestOverrideControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/ExternalBindingTestOverrideControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -4,8 +4,8 @@
 
 import org.apache.beehive.test.tools.milton.common.Report;
 
[EMAIL PROTECTED]
-public class ExternalBindingTestOverrideControlImpl 
[EMAIL PROTECTED](isTransient=true)
+public class ExternalBindingTestOverrideControlImpl
     implements java.io.Serializable, ExternalBindingTestControl
 {
     public String getStatus()

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -11,7 +11,7 @@
  * its own interface.
  */
 @ControlImplementation 
-public class SubControlImpl extends SuperControlImpl implements SubControl
+public class SubControlImpl extends SuperControlImpl implements SubControl, 
java.io.Serializable
 {
     @Context ControlBeanContext context;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
 Wed Apr 27 13:46:49 2005
@@ -10,8 +10,8 @@
  * It accesses the propertySets inherited from ExtensibleControl, and extended 
by
  * its own interface.
  */
[EMAIL PROTECTED] 
-public class SubControlImpl2 extends SuperControlImpl implements SubControl
[EMAIL PROTECTED]
+public class SubControlImpl2 extends SuperControlImpl implements SubControl, 
java.io.Serializable
 {
     @Context ControlBeanContext context;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -11,7 +11,7 @@
  * By implementing Extensible, this impl makes itself extensible
  */
 
[EMAIL PROTECTED] 
[EMAIL PROTECTED](isTransient=true)
 public class SuperControlImpl implements SuperControl, Extensible
 {
     @Context ControlBeanContext context;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/HelloCheckedImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/HelloCheckedImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/HelloCheckedImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/checker/HelloCheckedImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
 import org.apache.beehive.controls.api.bean.Extensible;
 
 @ControlImplementation
-public class HelloCheckedImpl implements HelloChecked, Extensible
+public class HelloCheckedImpl implements HelloChecked, Extensible, 
java.io.Serializable
 { 
     public String _lastVisitor = "<none>";
     int _visitorCount = 0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ComposerImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ComposerImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ComposerImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/ComposerImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -14,7 +14,7 @@
 
 
 @ControlImplementation
-public class ComposerImpl implements Composer
+public class ComposerImpl implements Composer, java.io.Serializable
 { 
     static final long serialVersionUID = 1L;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/NestedImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/NestedImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/NestedImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/composition/NestedImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
 import org.apache.beehive.controls.test.controls.util.TestContext;
 
 @ControlImplementation( assembler=NestedAssembler.class )
-public class NestedImpl implements Nested
+public class NestedImpl implements Nested, java.io.Serializable
 {
     @Context TestContext testContext;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -13,7 +13,7 @@
 
 import org.apache.beehive.controls.test.controls.util.TestContext;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class ContextParamImpl implements ContextParam, Extensible
 { 
     @Context ControlBeanContext context;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -11,7 +11,7 @@
 /**
  * A control implementation that retrieves specific service via controlContext
  */
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class ServiceGetterImpl implements ServiceGetter
 { 
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/BeanContextRecorderImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/BeanContextRecorderImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/BeanContextRecorderImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/BeanContextRecorderImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
  */
 
 @ControlImplementation 
-public class BeanContextRecorderImpl implements BeanContextRecorder
+public class BeanContextRecorderImpl implements BeanContextRecorder, 
java.io.Serializable
 {
 
     private String event_log="init";

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
  */
 
 @ControlImplementation 
-public class RecorderImpl implements Recorder
+public class RecorderImpl implements Recorder, java.io.Serializable
 {
 
     private String event_log="init";

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -14,7 +14,7 @@
  * A control implementation that raises events when the method is invoked
  */
 @ControlImplementation
-public class HelloImpl implements Hello
+public class HelloImpl implements Hello, java.io.Serializable
 {
     @Client Hello.EventSet0 eventSet0;
     @Client Hello.EventSet1 eventSet1;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -11,7 +11,7 @@
  * By implementing Extensible, this impl makes itself extensible
  */
 
[EMAIL PROTECTED] 
[EMAIL PROTECTED](isTransient=true)
 public class ExtensibleControlImpl implements ExtensibleControl, Extensible
 {
     @Context ControlBeanContext context;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -10,8 +10,9 @@
  * It accesses the propertySets inherited from ExtensibleControl, and extended 
by
  * its own interface.
  */
[EMAIL PROTECTED] 
-public class SubControlImpl extends ExtensibleControlImpl implements SubControl
[EMAIL PROTECTED]
+public class SubControlImpl extends ExtensibleControlImpl 
+                            implements SubControl, java.io.Serializable
 {
     @Context ControlBeanContext context;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ExtendedSimpleControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ExtendedSimpleControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ExtendedSimpleControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ExtendedSimpleControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,6 +8,6 @@
 @ControlImplementation
 public class ExtendedSimpleControlImpl 
                                        extends SimpleControlImpl<Integer>
-                                       implements ExtendedSimpleControl
+                                       implements ExtendedSimpleControl, 
java.io.Serializable
 { 
 } 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ListControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ListControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ListControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/ListControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -14,7 +14,8 @@
 import org.apache.beehive.controls.api.events.EventHandler;
 
 @ControlImplementation
-public class ListControlImpl<E, T extends List<E>> implements ListControl<E, 
T>, Extensible
+public class ListControlImpl<E, T extends List<E>> 
+       implements ListControl<E, T>, Extensible, java.io.Serializable
 { 
     @Context ControlBeanContext context;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/SimpleControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/SimpleControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/SimpleControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/generic/SimpleControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
 import org.apache.beehive.controls.api.bean.Extensible;
 
 @ControlImplementation
-public class SimpleControlImpl<P> implements SimpleControl<P>
+public class SimpleControlImpl<P> implements SimpleControl<P>, 
java.io.Serializable
 { 
     private  Vector<P> mylist=new Vector<P>();
     

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf1Impl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf1Impl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf1Impl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf1Impl.jcs
 Wed Apr 27 13:46:49 2005
@@ -17,7 +17,7 @@
  */
 @ControlImplementation
 public class Intf1Impl extends RootImpl
-             implements Intf1
+             implements Intf1, java.io.Serializable
 {
     @Context ControlBeanContext context;
     @Client Intf1Events intfEvents;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf2Impl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf2Impl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf2Impl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/inherit/Intf2Impl.jcs
 Wed Apr 27 13:46:49 2005
@@ -19,7 +19,7 @@
  */
 @ControlImplementation
 public class Intf2Impl extends Intf1Impl 
-             implements Intf2, Extensible
+             implements Intf2, Extensible, java.io.Serializable
 {
     @Context ControlBeanContext context;
     @Client Intf2Events intfEvents;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/HelloControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/HelloControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/HelloControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/instantiate/HelloControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 /**
  * A simple control impl
  */
[EMAIL PROTECTED] 
[EMAIL PROTECTED](isTransient=true)
 public class HelloControlImpl implements HelloControl
 {
     public String hello(String input)

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/FeatureInfoControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/FeatureInfoControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/FeatureInfoControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/FeatureInfoControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 /**
  * A simple control impl
  */
[EMAIL PROTECTED] 
[EMAIL PROTECTED](isTransient=true)
 public class FeatureInfoControlImpl implements FeatureInfoControl
 {
     public String hello(String input)

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/HelloControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/HelloControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/HelloControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/packaging/HelloControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 /**
  * A simple control impl
  */
[EMAIL PROTECTED] 
[EMAIL PROTECTED](isTransient=true)
 public class HelloControlImpl implements HelloControl
 {
     public String hello(String input)

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundPropertyControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundPropertyControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundPropertyControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/BoundPropertyControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,7 +8,7 @@
  * A control impl that accesses the property declared by its control interface 
via control context
  */
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class BoundPropertyControlImpl implements BoundPropertyControl
 { 
     @Context ControlBeanContext context;
@@ -23,4 +23,4 @@
         return "Hello";
     }
 
-} 
\ No newline at end of file
+} 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/NestPropsImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/NestPropsImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/NestPropsImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/NestPropsImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
 import org.apache.beehive.controls.api.properties.PropertySet;
 
 @ControlImplementation
-public class NestPropsImpl implements NestProps
+public class NestPropsImpl implements NestProps, java.io.Serializable
 { 
     static final long serialVersionUID = 1L;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropEventsImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropEventsImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropEventsImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropEventsImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -10,7 +10,7 @@
 import org.apache.beehive.controls.api.events.EventHandler;
 
 @ControlImplementation
-public class PropEventsImpl implements PropEvents
+public class PropEventsImpl implements PropEvents, java.io.Serializable
 { 
     static final long serialVersionUID = 1L;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyConstraintControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyConstraintControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyConstraintControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyConstraintControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 import org.apache.beehive.controls.api.context.ControlBeanContext;
 import org.apache.beehive.controls.api.context.Context;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class PropertyConstraintControlImpl implements PropertyConstraintControl
 {
     @Context ControlBeanContext ctx;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropertyControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,7 +8,7 @@
  * A control impl that accesses the property declared by its control interface 
via control context
  */
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class PropertyControlImpl implements PropertyControl
 { 
     @Context ControlBeanContext context;
@@ -30,4 +30,4 @@
         
         return propertyTwo.attribute3();
     }
-} 
\ No newline at end of file
+} 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropsImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropsImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropsImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/PropsImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -15,7 +15,7 @@
 import org.apache.beehive.controls.api.properties.PropertySet;
 
 @ControlImplementation
-public class PropsImpl implements Props, Extensible
+public class PropsImpl implements Props, Extensible, java.io.Serializable
 { 
     static final long serialVersionUID = 1L;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/SinglePropertyImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/SinglePropertyImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/SinglePropertyImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/SinglePropertyImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,7 +8,7 @@
  * A control impl that accesses the property declared by its control interface 
via control context
  */
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class SinglePropertyImpl implements SingleProperty
 { 
     @Context ControlBeanContext context;
@@ -22,4 +22,4 @@
         return greeting.GreetWord();
     }
 
-} 
\ No newline at end of file
+} 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/BookControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/BookControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/BookControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/BookControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 import org.apache.beehive.controls.api.context.ControlBeanContext;
 import org.apache.beehive.controls.api.context.Context;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class BookControlImpl implements BookControl
 {
     @Context ControlBeanContext ctx;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/PersonControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/PersonControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/PersonControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/property/constraint/PersonControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 import org.apache.beehive.controls.api.context.ControlBeanContext;
 import org.apache.beehive.controls.api.context.Context;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class PersonControlImpl implements PersonControl
 {
     @Context ControlBeanContext ctx;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/DefaultThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/DefaultThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/DefaultThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/DefaultThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -15,7 +15,7 @@
  *
  */
 @ControlImplementation
-public class DefaultThreadControlImpl implements DefaultThreadControl
+public class DefaultThreadControlImpl implements DefaultThreadControl, 
java.io.Serializable
 {
 
     public final static int LOOPS=100;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThread2ControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThread2ControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThread2ControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThread2ControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.MULTI_THREADED)
-public class MultiThread2ControlImpl implements MultiThread2Control
+public class MultiThread2ControlImpl implements MultiThread2Control, 
java.io.Serializable
 {
 
     public final static int LOOPS=100;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/MultiThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -17,7 +17,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.MULTI_THREADED)
-public class MultiThreadControlImpl implements MultiThreadControl
+public class MultiThreadControlImpl implements MultiThreadControl, 
java.io.Serializable
 {
     private long lastAccess=0;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThread2ControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThread2ControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThread2ControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThread2ControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.SINGLE_THREADED)
-public class SingleThread2ControlImpl implements SingleThread2Control
+public class SingleThread2ControlImpl implements SingleThread2Control, 
java.io.Serializable
 {
 
     public final static int LOOPS=100;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/SingleThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -17,7 +17,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.SINGLE_THREADED)
-public class SingleThreadControlImpl implements SingleThreadControl
+public class SingleThreadControlImpl implements SingleThreadControl, 
java.io.Serializable
 {
     private long lastAccess=0;
 

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThread2ControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThread2ControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThread2ControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThread2ControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -1,5 +1,6 @@
 package org.apache.beehive.controls.test.controls.threading.nested;
 
+import java.io.Serializable;
 import java.util.Date;
 import java.lang.Thread;
 import java.lang.InterruptedException;
@@ -17,7 +18,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.MULTI_THREADED)
-public class CompositeMultiThread2ControlImpl implements 
CompositeMultiThread2Control
+public class CompositeMultiThread2ControlImpl implements 
CompositeMultiThread2Control, Serializable
 {
     public final static int LOOPS=30;
     private long count=0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/CompositeMultiThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -1,5 +1,6 @@
 package org.apache.beehive.controls.test.controls.threading.nested;
 
+import java.io.Serializable;
 import java.util.Date;
 import java.lang.Thread;
 import java.lang.InterruptedException;
@@ -17,7 +18,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.MULTI_THREADED)
-public class CompositeMultiThreadControlImpl implements 
CompositeMultiThreadControl
+public class CompositeMultiThreadControlImpl implements 
CompositeMultiThreadControl, Serializable
 {
     public final static int LOOPS=50;
     private long count=0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedMultiThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedMultiThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedMultiThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedMultiThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -16,7 +16,7 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.MULTI_THREADED)
-public class NestedMultiThreadControlImpl implements NestedMultiThreadControl
+public class NestedMultiThreadControlImpl implements NestedMultiThreadControl, 
java.io.Serializable
 {
     public final static int LOOPS=20;
     private long count=0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedSingleThreadControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedSingleThreadControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedSingleThreadControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/threading/nested/NestedSingleThreadControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -17,7 +17,8 @@
  */
 @ControlImplementation
 @Threading(ThreadingPolicy.SINGLE_THREADED)
-public class NestedSingleThreadControlImpl implements NestedSingleThreadControl
+public class NestedSingleThreadControlImpl 
+       implements NestedSingleThreadControl, java.io.Serializable
 {
     public final static int LOOPS=50;
     private long count=0;

Modified: 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/HelloImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/HelloImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/HelloImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/versioning/HelloImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,7 +8,7 @@
 
 @ControlImplementation
 @VersionSupported( major=2 )
-public class HelloImpl implements Hello, Extensible
+public class HelloImpl implements Hello, Extensible, java.io.Serializable
 { 
     public String _lastVisitor = "<none>";
     int _visitorCount = 0;

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/MethodTestImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/MethodTestImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/MethodTestImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/controls/methodTest/MethodTestImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -5,7 +5,7 @@
 
 import org.apache.beehive.controls.api.bean.ControlImplementation;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class MethodTestImpl implements MethodTest
 {
     public String publicMethod() {return "public method";}

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/PortfolioControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/PortfolioControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/PortfolioControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/databinding/datagrid/controls/PortfolioControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -8,7 +8,7 @@
 import java.io.InputStream;
 import java.io.IOException;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class PortfolioControlImpl
     implements PortfolioControl
 {

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/CtrlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/CtrlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/CtrlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/miscJpf/bug21124/CtrlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
 import java.lang.ClassNotFoundException;
 import java.lang.IndexOutOfBoundsException;
 
[EMAIL PROTECTED]()
[EMAIL PROTECTED](isTransient=true)
 public class CtrlImpl implements Ctrl
    {
    public void throwWrappedChecked()
@@ -61,4 +61,4 @@
       String str = "Test - This is an unwrapped, unhandled, runtime 
exception.";
       throw new IndexOutOfBoundsException(str);
       }
-   }
\ No newline at end of file
+   }

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/BaseControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/BaseControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/BaseControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/inheritControls/BaseControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -2,7 +2,7 @@
 
 import org.apache.beehive.controls.api.bean.ControlImplementation;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class BaseControlImpl implements BaseControl
 { 
     public String hello()

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/TestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/TestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/TestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/pageFlowCore/lifecycle/TestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -6,7 +6,7 @@
  * @jcs:jc-jar label="TestControl"
  * @editor-info:code-gen control-interface="true"
  */
[EMAIL PROTECTED]()
[EMAIL PROTECTED](isTransient=true)
 public class TestControlImpl implements TestControl
 { 
     /**

Modified: 
incubator/beehive/trunk/netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/TestControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/TestControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/TestControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/jsf/jsfWeb/WEB-INF/src/backingControls/TestControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -1,6 +1,6 @@
 package backingControls;
 
[EMAIL PROTECTED]()
[EMAIL PROTECTED](isTransient=true)
 public class TestControlImpl implements TestControl
 { 
     /**

Modified: incubator/beehive/trunk/samples/controls-blank/src/pkg/HelloImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/controls-blank/src/pkg/HelloImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/controls-blank/src/pkg/HelloImpl.jcs 
(original)
+++ incubator/beehive/trunk/samples/controls-blank/src/pkg/HelloImpl.jcs Wed 
Apr 27 13:46:49 2005
@@ -2,7 +2,7 @@
 
 import org.apache.beehive.controls.api.bean.*;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class HelloImpl implements Hello
 {
     public String hello()

Modified: 
incubator/beehive/trunk/samples/controls-db/src/dbControl/DatabaseControlImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/controls-db/src/dbControl/DatabaseControlImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/samples/controls-db/src/dbControl/DatabaseControlImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/samples/controls-db/src/dbControl/DatabaseControlImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -23,7 +23,7 @@
 import javax.naming.InitialContext;
 
 @ControlImplementation
-public class DatabaseControlImpl implements DatabaseControl, Extensible
+public class DatabaseControlImpl implements DatabaseControl, Extensible, 
Serializable
 {
        //Error messages
     private static final String ERROR_GET_DATABASE_CONTROL = "Failed to obtain 
database control.";

Modified: 
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/PetsImpl.jcs
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/PetsImpl.jcs?rev=165047&r1=165046&r2=165047&view=diff
==============================================================================
--- 
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/PetsImpl.jcs
 (original)
+++ 
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/PetsImpl.jcs
 Wed Apr 27 13:46:49 2005
@@ -20,7 +20,7 @@
 import org.apache.beehive.controls.api.bean.*;
 import org.apache.beehive.samples.netui.beans.PetType;
 
[EMAIL PROTECTED]
[EMAIL PROTECTED](isTransient=true)
 public class PetsImpl implements Pets
 {
     public String hello()


Reply via email to