You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/08/12 17:23:08 UTC

svn commit: r232310 [10/92] - in /beehive/trunk/controls/test: common/ infra/gtlf/ infra/gtlf/xsl/ infra/mantis/ infra/tch/ infra/tch/messages/ infra/tch/runtime/ infra/tch/schema/ perf/ perf/bin/ perf/cases/ perf/ctlsrc/org/apache/beehive/controls/per...

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControl.java Fri Aug 12 08:12:28 2005
@@ -1,29 +1,29 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.properties.BaseProperties;
-
-@ControlInterface
-@BaseProperties(controlImplementation="org.apache.beehive.controls.test.controls.binding.BindingTestControlImpl")
-public interface BindingTestControl
-{
-    public String getStatus();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.BaseProperties;
+
+@ControlInterface
+@BaseProperties(controlImplementation="org.apache.beehive.controls.test.controls.binding.BindingTestControlImpl")
+public interface BindingTestControl
+{
+    public String getStatus();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-
-import org.apache.beehive.test.tools.milton.common.Report;
-
-@ControlImplementation(isTransient=true)
-public class BindingTestControlImpl
-    implements java.io.Serializable, BindingTestControl
-{
-    public String getStatus()
-    {
-	return Report.FAIL;
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+import org.apache.beehive.test.tools.milton.common.Report;
+
+@ControlImplementation(isTransient=true)
+public class BindingTestControlImpl
+    implements java.io.Serializable, BindingTestControl
+{
+    public String getStatus()
+    {
+	return Report.FAIL;
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-
-import org.apache.beehive.test.tools.milton.common.Report;
-
-@ControlImplementation(isTransient=true)
-public class BindingTestControlOverrideImpl
-    implements java.io.Serializable, BindingTestControl
-{
-    public String getStatus()
-    {
-	return Report.PASS;
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+import org.apache.beehive.test.tools.milton.common.Report;
+
+@ControlImplementation(isTransient=true)
+public class BindingTestControlOverrideImpl
+    implements java.io.Serializable, BindingTestControl
+{
+    public String getStatus()
+    {
+	return Report.PASS;
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/BindingTestControlOverrideImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControl.java Fri Aug 12 08:12:28 2005
@@ -1,29 +1,29 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlInterface;
-
-@ControlInterface (
-  defaultBinding = "org.apache.beehive.controls.test.controls.binding.DefaultBindingTestOverrideControlImpl"
-)
-public interface DefaultBindingTestControl
-{
-    public String getStatus();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+
+@ControlInterface (
+  defaultBinding = "org.apache.beehive.controls.test.controls.binding.DefaultBindingTestOverrideControlImpl"
+)
+public interface DefaultBindingTestControl
+{
+    public String getStatus();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-
-import org.apache.beehive.test.tools.milton.common.Report;
-
-@ControlImplementation(isTransient=true)
-public class DefaultBindingTestControlImpl 
-    implements java.io.Serializable, DefaultBindingTestControl
-{
-    public String getStatus()
-    {
-	return Report.FAIL;
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+import org.apache.beehive.test.tools.milton.common.Report;
+
+@ControlImplementation(isTransient=true)
+public class DefaultBindingTestControlImpl 
+    implements java.io.Serializable, DefaultBindingTestControl
+{
+    public String getStatus()
+    {
+	return Report.FAIL;
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-
-import org.apache.beehive.test.tools.milton.common.Report;
-
-@ControlImplementation(isTransient=true)
-public class DefaultBindingTestOverrideControlImpl 
-    implements java.io.Serializable, DefaultBindingTestControl
-{
-    public String getStatus()
-    {
-	return Report.PASS;
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+import org.apache.beehive.test.tools.milton.common.Report;
+
+@ControlImplementation(isTransient=true)
+public class DefaultBindingTestOverrideControlImpl 
+    implements java.io.Serializable, DefaultBindingTestControl
+{
+    public String getStatus()
+    {
+	return Report.PASS;
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/DefaultBindingTestOverrideControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControl.java Fri Aug 12 08:12:28 2005
@@ -1,66 +1,66 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.binding;
-
-import java.lang.ClassLoader;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import org.apache.beehive.controls.api.bean.ControlExtension;
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.properties.PropertySet;
-import org.apache.beehive.controls.api.properties.BaseProperties;
-import org.apache.beehive.controls.api.events.EventSet;
-
-/**
- * A sub control extending SuperControl.
- *
- * This control interface specifies the implementation by BasePropery annotation
- *
- * This control declares one new method and one new propertySet.
- * It also resets the value of the propertySet inherited from SuperControl.
- */
-//@ControlExtension ::JIRA-118 and JIRA-197
-@ControlInterface
-@SuperControl.WhereAbout(Layer="On_SubControl_Interface_Layer")
-@BaseProperties(controlImplementation="org.apache.beehive.controls.test.controls.binding.SubControlImpl2")
-public interface SubControl extends SuperControl
-{
-
-    static final String A_MESSAGE = "New Property Declared by Sub Control";
-
-	@PropertySet
-	@Retention(RetentionPolicy.RUNTIME)
-	public @interface NewProperty
-	{
-		String Message() default A_MESSAGE;
-    }
-
-    @EventSet
-    public interface SubClassEvent
-    {
-        public void method1();
-    }
-
-    public String hello2();
-    public String accessInheritedProperty();
-    public String getExtendedPropertyByContext();
-    public int invokeInheritedEventFromSubControl();
-    public int invokeExtendedEventFromSubControl();
-    public ClassLoader getClassLoaderFromContext();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.binding;
+
+import java.lang.ClassLoader;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import org.apache.beehive.controls.api.bean.ControlExtension;
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.PropertySet;
+import org.apache.beehive.controls.api.properties.BaseProperties;
+import org.apache.beehive.controls.api.events.EventSet;
+
+/**
+ * A sub control extending SuperControl.
+ *
+ * This control interface specifies the implementation by BasePropery annotation
+ *
+ * This control declares one new method and one new propertySet.
+ * It also resets the value of the propertySet inherited from SuperControl.
+ */
+//@ControlExtension ::JIRA-118 and JIRA-197
+@ControlInterface
+@SuperControl.WhereAbout(Layer="On_SubControl_Interface_Layer")
+@BaseProperties(controlImplementation="org.apache.beehive.controls.test.controls.binding.SubControlImpl2")
+public interface SubControl extends SuperControl
+{
+
+    static final String A_MESSAGE = "New Property Declared by Sub Control";
+
+	@PropertySet
+	@Retention(RetentionPolicy.RUNTIME)
+	public @interface NewProperty
+	{
+		String Message() default A_MESSAGE;
+    }
+
+    @EventSet
+    public interface SubClassEvent
+    {
+        public void method1();
+    }
+
+    public String hello2();
+    public String accessInheritedProperty();
+    public String getExtendedPropertyByContext();
+    public int invokeInheritedEventFromSubControl();
+    public int invokeExtendedEventFromSubControl();
+    public ClassLoader getClassLoaderFromContext();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,75 +1,75 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import java.lang.ClassLoader;
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.events.Client;
-
-/**
- * A control impl of a SubControl and extending ExtensibleControlImpl.
- * It accesses the propertySets inherited from ExtensibleControl, and extended by
- * its own interface.
- */
-@ControlImplementation 
-public class SubControlImpl extends SuperControlImpl implements SubControl, java.io.Serializable
-{
-    @Context ControlBeanContext context;
-
-    @Client SubControl.SuperClassEvent superevent;
-    @Client SubControl.SubClassEvent subevent;
-
-    public String hello2()
-    {
-	return "Hello from subcontrolimpl";
-    }
-    
-    /*Accessing the propertySet inherited from ExtensibleControl*/
-    public String accessInheritedProperty()
-    {
-        /**Bug: could not refer to WhereAbout directly*/
-        SuperControl.WhereAbout where=(SuperControl.WhereAbout)context.getControlPropertySet(SuperControl.WhereAbout.class);
-        
-        return where.Position();    
-    }
-
-    public String getExtendedPropertyByContext(){
-
-        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
-        
-        return newproperty.Message();    
-    }
-
-    public int invokeInheritedEventFromSubControl(){
-    
-    	superevent.method1();
-    	return 0;
-    }
-    public int invokeExtendedEventFromSubControl(){
-
-    	subevent.method1();
-    	return 0;
-    }
- 
- 	public ClassLoader getClassLoaderFromContext(){
- 		return context.getClassLoader();
- 	}
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import java.lang.ClassLoader;
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.events.Client;
+
+/**
+ * A control impl of a SubControl and extending ExtensibleControlImpl.
+ * It accesses the propertySets inherited from ExtensibleControl, and extended by
+ * its own interface.
+ */
+@ControlImplementation 
+public class SubControlImpl extends SuperControlImpl implements SubControl, java.io.Serializable
+{
+    @Context ControlBeanContext context;
+
+    @Client SubControl.SuperClassEvent superevent;
+    @Client SubControl.SubClassEvent subevent;
+
+    public String hello2()
+    {
+	return "Hello from subcontrolimpl";
+    }
+    
+    /*Accessing the propertySet inherited from ExtensibleControl*/
+    public String accessInheritedProperty()
+    {
+        /**Bug: could not refer to WhereAbout directly*/
+        SuperControl.WhereAbout where=(SuperControl.WhereAbout)context.getControlPropertySet(SuperControl.WhereAbout.class);
+        
+        return where.Position();    
+    }
+
+    public String getExtendedPropertyByContext(){
+
+        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
+        
+        return newproperty.Message();    
+    }
+
+    public int invokeInheritedEventFromSubControl(){
+    
+    	superevent.method1();
+    	return 0;
+    }
+    public int invokeExtendedEventFromSubControl(){
+
+    	subevent.method1();
+    	return 0;
+    }
+ 
+ 	public ClassLoader getClassLoaderFromContext(){
+ 		return context.getClassLoader();
+ 	}
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs Fri Aug 12 08:12:28 2005
@@ -1,74 +1,74 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import java.lang.ClassLoader;
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.events.Client;
-
-/**
- * A control impl of a SubControl and extending ExtensibleControlImpl.
- * It accesses the propertySets inherited from ExtensibleControl, and extended by
- * its own interface.
- */
-@ControlImplementation
-public class SubControlImpl2 extends SuperControlImpl implements SubControl, java.io.Serializable
-{
-    @Context ControlBeanContext context;
-
-    @Client SubControl.SuperClassEvent superevent;
-    @Client SubControl.SubClassEvent subevent;
-
-    public String hello2()
-    {
-	return "Hello from subcontrolimpl2";
-    }
-    /*Accessing the propertySet inherited from ExtensibleControl*/
-    public String accessInheritedProperty()
-    {
-        /**Bug: could not refer to WhereAbout directly*/
-        SuperControl.WhereAbout where=(SuperControl.WhereAbout)context.getControlPropertySet(SuperControl.WhereAbout.class);
-        
-        return where.Position();    
-    }
-
-    public String getExtendedPropertyByContext(){
-
-        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
-        
-        return newproperty.Message();    
-    }
-
-    public int invokeInheritedEventFromSubControl(){
-    
-    	superevent.method1();
-    	return 0;
-    }
-    public int invokeExtendedEventFromSubControl(){
-
-    	subevent.method1();
-    	return 0;
-    }
-
- 	public ClassLoader getClassLoaderFromContext(){
- 		return context.getClassLoader();
- 	}    
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import java.lang.ClassLoader;
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.events.Client;
+
+/**
+ * A control impl of a SubControl and extending ExtensibleControlImpl.
+ * It accesses the propertySets inherited from ExtensibleControl, and extended by
+ * its own interface.
+ */
+@ControlImplementation
+public class SubControlImpl2 extends SuperControlImpl implements SubControl, java.io.Serializable
+{
+    @Context ControlBeanContext context;
+
+    @Client SubControl.SuperClassEvent superevent;
+    @Client SubControl.SubClassEvent subevent;
+
+    public String hello2()
+    {
+	return "Hello from subcontrolimpl2";
+    }
+    /*Accessing the propertySet inherited from ExtensibleControl*/
+    public String accessInheritedProperty()
+    {
+        /**Bug: could not refer to WhereAbout directly*/
+        SuperControl.WhereAbout where=(SuperControl.WhereAbout)context.getControlPropertySet(SuperControl.WhereAbout.class);
+        
+        return where.Position();    
+    }
+
+    public String getExtendedPropertyByContext(){
+
+        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
+        
+        return newproperty.Message();    
+    }
+
+    public int invokeInheritedEventFromSubControl(){
+    
+    	superevent.method1();
+    	return 0;
+    }
+    public int invokeExtendedEventFromSubControl(){
+
+    	subevent.method1();
+    	return 0;
+    }
+
+ 	public ClassLoader getClassLoaderFromContext(){
+ 		return context.getClassLoader();
+ 	}    
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SubControlImpl2.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControl.java Fri Aug 12 08:12:28 2005
@@ -1,56 +1,56 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.binding;
-
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.properties.PropertySet;
-import org.apache.beehive.controls.api.events.EventSet;
-
-
-/**
- * A control interface with one method and one propertySet
- */
-@ControlInterface
-public interface SuperControl
-{
-	static final String CURRENT_POSITION = "In_ExtensibleControl_Interface";
-	static final String CURRENT_LAYER = "On_ExtensibleControl_Layer";
-
-	@PropertySet
-	@Retention(RetentionPolicy.RUNTIME)
-	public @interface WhereAbout
-	{
-		String Position() default CURRENT_POSITION;
-		String Layer() default CURRENT_LAYER;
-    }
-
-    @EventSet
-    public interface SuperClassEvent
-    {
-        public void method1();
-    }
-
-    //@TestInterceptor()
-    public String hello();
-
-    public String getLayerByContext();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.binding;
+
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.PropertySet;
+import org.apache.beehive.controls.api.events.EventSet;
+
+
+/**
+ * A control interface with one method and one propertySet
+ */
+@ControlInterface
+public interface SuperControl
+{
+	static final String CURRENT_POSITION = "In_ExtensibleControl_Interface";
+	static final String CURRENT_LAYER = "On_ExtensibleControl_Layer";
+
+	@PropertySet
+	@Retention(RetentionPolicy.RUNTIME)
+	public @interface WhereAbout
+	{
+		String Position() default CURRENT_POSITION;
+		String Layer() default CURRENT_LAYER;
+    }
+
+    @EventSet
+    public interface SuperClassEvent
+    {
+        public void method1();
+    }
+
+    //@TestInterceptor()
+    public String hello();
+
+    public String getLayerByContext();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,55 +1,55 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.binding;
-
-import java.lang.reflect.Method;
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.bean.Extensible;
-
-/**
- * A control impl.
- * By implementing Extensible, this impl makes itself extensible
- */
-
-@ControlImplementation(isTransient=true)
-public class SuperControlImpl implements SuperControl, Extensible
-{
-    @Context ControlBeanContext context;
-
-    public String hello()
-    {
-	return "Hello from super control impl";
-    }
-    
-    public String getLayerByContext()
-    {
-    	/**BUG: could not refer to Greeting directly*/
-        WhereAbout whereabout=(WhereAbout)context.getControlPropertySet(WhereAbout.class);
-        
-        return whereabout.Layer();
-    }
-    
-    public Object invoke(Method m, Object[] args)throws Throwable
-    {
-    	return null;
-    }
-    
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.binding;
+
+import java.lang.reflect.Method;
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.bean.Extensible;
+
+/**
+ * A control impl.
+ * By implementing Extensible, this impl makes itself extensible
+ */
+
+@ControlImplementation(isTransient=true)
+public class SuperControlImpl implements SuperControl, Extensible
+{
+    @Context ControlBeanContext context;
+
+    public String hello()
+    {
+	return "Hello from super control impl";
+    }
+    
+    public String getLayerByContext()
+    {
+    	/**BUG: could not refer to Greeting directly*/
+        WhereAbout whereabout=(WhereAbout)context.getControlPropertySet(WhereAbout.class);
+        
+        return whereabout.Layer();
+    }
+    
+    public Object invoke(Method m, Object[] args)throws Throwable
+    {
+    	return null;
+    }
+    
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/binding/SuperControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParam.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamExt.jcx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ContextParamImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/context/ServiceGetterImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/Recorder.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/Recorder.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/Recorder.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/Recorder.java Fri Aug 12 08:12:28 2005
@@ -1,33 +1,33 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.contextevent;
-
-import org.apache.beehive.controls.api.bean.ControlInterface;
-
-/**
- * A control interface to test control context events.
- * There are two sources of control context events: ControlBeanContext and
- * ResouceContext.
- * The implementation of this interface listens to context events from both sources.
- */
-@ControlInterface
-public interface Recorder
-{
-    public String getRecord();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.contextevent;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+
+/**
+ * A control interface to test control context events.
+ * There are two sources of control context events: ControlBeanContext and
+ * ResouceContext.
+ * The implementation of this interface listens to context events from both sources.
+ */
+@ControlInterface
+public interface Recorder
+{
+    public String getRecord();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/Recorder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,86 +1,86 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.contextevent;
-
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.context.ResourceContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.events.EventHandler;
-
-/**
- * A control impl that listens to and records context events
- * This impl listens to context events by declaring EventHandler.
- *
- * There are two sources of control context events: ControlBeanContext and
- * ResouceContext.
- * This class listens to context events from both sources. 
- */
-
-@ControlImplementation 
-public class RecorderImpl implements Recorder, java.io.Serializable
-{
-
-    private String event_log="init";
-    
-    @Context ControlBeanContext context;
-    @Context ResourceContext resourceContext;
-    
-    /*A EventHandler that listens to onCreate event*/
-    @EventHandler(field="context", eventSet=ControlBeanContext.LifeCycle.class, eventName="onCreate")
-    public void onCreate()
-    {
-    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
-        System.out.println("onCreate invoked on RecorderImpl");
-        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
-
-		event_log=event_log+"onCreate";
-    }
-
-    /*A EventHandler that listens to onAcquire event*/
-    @EventHandler(field="resourceContext", eventSet=ResourceContext.ResourceEvents.class, eventName="onAcquire")
-    public void onAcquire()
-    {
-    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
-        System.out.println("onAcquire invoked on RecorderImpl");
-        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
-		event_log=event_log+"onAcquire";
-    }
-    
-    /*A EventHandler that listens to onRelease event*/
-    @EventHandler(field="resourceContext", eventSet=ResourceContext.ResourceEvents.class, eventName="onRelease")
-    public void onRelease()
-    {
-    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
-        System.out.println("onRelease invoked on RecorderImpl");
-        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
-
-		event_log=event_log+"onRelease";
-    }
-    
-    /*Returns the event log*/
-    public String getRecord()
-    {
-    	System.out.println("++++++++++++++++++++++++++++++++++++++++++++++");
-        System.out.println("getRecord method invoked on RecorderImpl");
-        System.out.println("++++++++++++++++++++++++++++++++++++++++++++++");
-        
-		return event_log;
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.contextevent;
+
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.context.ResourceContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.events.EventHandler;
+
+/**
+ * A control impl that listens to and records context events
+ * This impl listens to context events by declaring EventHandler.
+ *
+ * There are two sources of control context events: ControlBeanContext and
+ * ResouceContext.
+ * This class listens to context events from both sources. 
+ */
+
+@ControlImplementation 
+public class RecorderImpl implements Recorder, java.io.Serializable
+{
+
+    private String event_log="init";
+    
+    @Context ControlBeanContext context;
+    @Context ResourceContext resourceContext;
+    
+    /*A EventHandler that listens to onCreate event*/
+    @EventHandler(field="context", eventSet=ControlBeanContext.LifeCycle.class, eventName="onCreate")
+    public void onCreate()
+    {
+    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
+        System.out.println("onCreate invoked on RecorderImpl");
+        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
+
+		event_log=event_log+"onCreate";
+    }
+
+    /*A EventHandler that listens to onAcquire event*/
+    @EventHandler(field="resourceContext", eventSet=ResourceContext.ResourceEvents.class, eventName="onAcquire")
+    public void onAcquire()
+    {
+    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
+        System.out.println("onAcquire invoked on RecorderImpl");
+        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
+		event_log=event_log+"onAcquire";
+    }
+    
+    /*A EventHandler that listens to onRelease event*/
+    @EventHandler(field="resourceContext", eventSet=ResourceContext.ResourceEvents.class, eventName="onRelease")
+    public void onRelease()
+    {
+    	System.out.println("+++++++++++++++++++++++++++++++++++++++++");
+        System.out.println("onRelease invoked on RecorderImpl");
+        System.out.println("++++++++++++++++++++++++++++++++++++++++++");
+
+		event_log=event_log+"onRelease";
+    }
+    
+    /*Returns the event log*/
+    public String getRecord()
+    {
+    	System.out.println("++++++++++++++++++++++++++++++++++++++++++++++");
+        System.out.println("getRecord method invoked on RecorderImpl");
+        System.out.println("++++++++++++++++++++++++++++++++++++++++++++++");
+        
+		return event_log;
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/contextevent/RecorderImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/Hello.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/Hello.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/Hello.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/Hello.java Fri Aug 12 08:12:28 2005
@@ -1,53 +1,53 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.event;
-
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.events.EventSet;
-
-/**
- * A ControlInterface that declares three events
- */
-@ControlInterface
-public interface Hello
-{
-
-    @EventSet
-    public interface EventSet0
-    {}
-
-
-    @EventSet
-    public interface EventSet1
-    {
-        public void method1();
-    }
-
-    @EventSet(unicast=true)
-    public interface EventSet2
-    {
-        public void method1();
-        public int set2Method2();
-        public boolean set2OverloadedMethod();
-        public boolean set2OverloadedMethod(int anArg);
-    }
-
-    public void triggerEvents();
-    public void triggerEventsUsingHandle();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.event;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.events.EventSet;
+
+/**
+ * A ControlInterface that declares three events
+ */
+@ControlInterface
+public interface Hello
+{
+
+    @EventSet
+    public interface EventSet0
+    {}
+
+
+    @EventSet
+    public interface EventSet1
+    {
+        public void method1();
+    }
+
+    @EventSet(unicast=true)
+    public interface EventSet2
+    {
+        public void method1();
+        public int set2Method2();
+        public boolean set2OverloadedMethod();
+        public boolean set2OverloadedMethod(int anArg);
+    }
+
+    public void triggerEvents();
+    public void triggerEventsUsingHandle();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/Hello.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,91 +1,91 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.event;
-
-import org.apache.beehive.controls.api.ControlException;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.context.ControlHandle;
-import org.apache.beehive.controls.api.events.Client;
-import org.apache.beehive.controls.api.events.EventRef;
-
-import org.apache.beehive.controls.test.controls.util.SerializeUtils;
-
-/**
- * A control implementation that raises events when the method is invoked
- */
-@ControlImplementation
-public class HelloImpl implements Hello, java.io.Serializable
-{
-    @Client Hello.EventSet0 eventSet0;
-    @Client Hello.EventSet1 eventSet1;
-    @Client Hello.EventSet2 eventSet2;
-
-    @Context ControlBeanContext beanContext;
-
-    public void triggerEvents() 
-    {
-        eventSet1.method1();
-        eventSet2.method1();
-        eventSet2.set2Method2();
-        eventSet2.set2OverloadedMethod();
-        eventSet2.set2OverloadedMethod(68);
-       
-    }
-
-    public void triggerEventsUsingHandle()
-    {
-        ControlHandle handle = beanContext.getControlHandle();
-        if (handle == null)
-            throw new ControlException("No control handle for context:" + beanContext);
-
-        Object [] emptyArgs = new Object [] {};
-
-        try
-        {
-            // Create an event ref using the method descriptor string format
-            EventRef eventRef = new EventRef(Hello.EventSet1.class.getName() + ".method1()V");
-            handle.sendEvent(eventRef, emptyArgs);
-
-            // Create an event ref using Method reflection
-            eventRef = new EventRef(Hello.EventSet2.class.getMethod("method1", new Class [] {}));
-            handle.sendEvent(eventRef, emptyArgs);
-
-            // Create an event ref using string descriptor, the serialize/deserialize before use
-            eventRef = new EventRef(Hello.EventSet2.class.getName() + ".set2Method2()I");
-            eventRef = SerializeUtils.testSerialize(eventRef); 
-            handle.sendEvent(eventRef, emptyArgs);
-
-            // Create an event ref using Method reflection, then serialize/deserialize before use
-            eventRef = new EventRef(Hello.EventSet2.class.getMethod("set2OverloadedMethod",
-                                                                    new Class []{}));
-            eventRef = SerializeUtils.testSerialize(eventRef); 
-            handle.sendEvent(eventRef, emptyArgs);
-    
-            // Create an event ref using string descriptor, where arg matching is required
-            eventRef = new EventRef(Hello.EventSet2.class.getName() + ".set2OverloadedMethod(I)Z");
-            handle.sendEvent(eventRef, new Object [] {68} );
-        }
-        catch (Exception e)
-        {
-            throw new ControlException("Event dispatch error", e);
-        }
-    }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.event;
+
+import org.apache.beehive.controls.api.ControlException;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.context.ControlHandle;
+import org.apache.beehive.controls.api.events.Client;
+import org.apache.beehive.controls.api.events.EventRef;
+
+import org.apache.beehive.controls.test.controls.util.SerializeUtils;
+
+/**
+ * A control implementation that raises events when the method is invoked
+ */
+@ControlImplementation
+public class HelloImpl implements Hello, java.io.Serializable
+{
+    @Client Hello.EventSet0 eventSet0;
+    @Client Hello.EventSet1 eventSet1;
+    @Client Hello.EventSet2 eventSet2;
+
+    @Context ControlBeanContext beanContext;
+
+    public void triggerEvents() 
+    {
+        eventSet1.method1();
+        eventSet2.method1();
+        eventSet2.set2Method2();
+        eventSet2.set2OverloadedMethod();
+        eventSet2.set2OverloadedMethod(68);
+       
+    }
+
+    public void triggerEventsUsingHandle()
+    {
+        ControlHandle handle = beanContext.getControlHandle();
+        if (handle == null)
+            throw new ControlException("No control handle for context:" + beanContext);
+
+        Object [] emptyArgs = new Object [] {};
+
+        try
+        {
+            // Create an event ref using the method descriptor string format
+            EventRef eventRef = new EventRef(Hello.EventSet1.class.getName() + ".method1()V");
+            handle.sendEvent(eventRef, emptyArgs);
+
+            // Create an event ref using Method reflection
+            eventRef = new EventRef(Hello.EventSet2.class.getMethod("method1", new Class [] {}));
+            handle.sendEvent(eventRef, emptyArgs);
+
+            // Create an event ref using string descriptor, the serialize/deserialize before use
+            eventRef = new EventRef(Hello.EventSet2.class.getName() + ".set2Method2()I");
+            eventRef = SerializeUtils.testSerialize(eventRef); 
+            handle.sendEvent(eventRef, emptyArgs);
+
+            // Create an event ref using Method reflection, then serialize/deserialize before use
+            eventRef = new EventRef(Hello.EventSet2.class.getMethod("set2OverloadedMethod",
+                                                                    new Class []{}));
+            eventRef = SerializeUtils.testSerialize(eventRef); 
+            handle.sendEvent(eventRef, emptyArgs);
+    
+            // Create an event ref using string descriptor, where arg matching is required
+            eventRef = new EventRef(Hello.EventSet2.class.getName() + ".set2OverloadedMethod(I)Z");
+            handle.sendEvent(eventRef, new Object [] {68} );
+        }
+        catch (Exception e)
+        {
+            throw new ControlException("Event dispatch error", e);
+        }
+    }
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/event/HelloImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControl.java Fri Aug 12 08:12:28 2005
@@ -1,65 +1,65 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-package org.apache.beehive.controls.test.controls.extension;
-
-
-import org.apache.beehive.controls.test.controls.util.TestInterceptor;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.properties.PropertySet;
-import org.apache.beehive.controls.api.events.EventSet;
-
-/**
- * A control interface with one method and one propertySet
- */
-@ControlInterface
-public interface ExtensibleControl
-{
-	static final String CURRENT_POSITION = "In_ExtensibleControl_Interface";
-	static final String CURRENT_LAYER = "On_ExtensibleControl_Layer";
-
-	/* A property to be inherited by all the sub controls*/
-	@PropertySet
-	@Retention(RetentionPolicy.RUNTIME)
-	@Inherited
-	public @interface Origin
-	{
-		String Birthplace() default "ExtensibleControl";
-    }
-
-	@PropertySet
-	@Retention(RetentionPolicy.RUNTIME)
-	public @interface WhereAbout
-	{
-		String Position() default CURRENT_POSITION;
-		String Layer() default CURRENT_LAYER;
-    }
-
-    @EventSet
-    public interface SuperClassEvent
-    {
-        public void method1();
-    }
-
-    @TestInterceptor()
-    public String hello();
-
-    public String getLayerByContext();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.controls.test.controls.extension;
+
+
+import org.apache.beehive.controls.test.controls.util.TestInterceptor;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.PropertySet;
+import org.apache.beehive.controls.api.events.EventSet;
+
+/**
+ * A control interface with one method and one propertySet
+ */
+@ControlInterface
+public interface ExtensibleControl
+{
+	static final String CURRENT_POSITION = "In_ExtensibleControl_Interface";
+	static final String CURRENT_LAYER = "On_ExtensibleControl_Layer";
+
+	/* A property to be inherited by all the sub controls*/
+	@PropertySet
+	@Retention(RetentionPolicy.RUNTIME)
+	@Inherited
+	public @interface Origin
+	{
+		String Birthplace() default "ExtensibleControl";
+    }
+
+	@PropertySet
+	@Retention(RetentionPolicy.RUNTIME)
+	public @interface WhereAbout
+	{
+		String Position() default CURRENT_POSITION;
+		String Layer() default CURRENT_LAYER;
+    }
+
+    @EventSet
+    public interface SuperClassEvent
+    {
+        public void method1();
+    }
+
+    @TestInterceptor()
+    public String hello();
+
+    public String getLayerByContext();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,56 +1,56 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.extension;
-
-import java.io.Serializable;
-import java.lang.reflect.Method;
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.bean.Extensible;
-
-/**
- * A control impl.
- * By implementing Extensible, this impl makes itself extensible
- */
-
-@ControlImplementation
-public class ExtensibleControlImpl implements ExtensibleControl, Extensible,Serializable
-{
-    @Context ControlBeanContext context;
-
-    public String hello()
-    {
-	return "Hello from super control";
-    }
-    
-    public String getLayerByContext()
-    {
-    	/**BUG: could not refer to Greeting directly*/
-        WhereAbout whereabout=(WhereAbout)context.getControlPropertySet(WhereAbout.class);
-        
-        return whereabout.Layer();
-    }
-    
-    public Object invoke(Method m, Object[] args)throws Throwable
-    {
-    	return null;
-    }
-    
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.extension;
+
+import java.io.Serializable;
+import java.lang.reflect.Method;
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.bean.Extensible;
+
+/**
+ * A control impl.
+ * By implementing Extensible, this impl makes itself extensible
+ */
+
+@ControlImplementation
+public class ExtensibleControlImpl implements ExtensibleControl, Extensible,Serializable
+{
+    @Context ControlBeanContext context;
+
+    public String hello()
+    {
+	return "Hello from super control";
+    }
+    
+    public String getLayerByContext()
+    {
+    	/**BUG: could not refer to Greeting directly*/
+        WhereAbout whereabout=(WhereAbout)context.getControlPropertySet(WhereAbout.class);
+        
+        return whereabout.Layer();
+    }
+    
+    public Object invoke(Method m, Object[] args)throws Throwable
+    {
+    	return null;
+    }
+    
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/ExtensibleControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControl.java (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControl.java Fri Aug 12 08:12:28 2005
@@ -1,60 +1,60 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.controls.test.controls.extension;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import org.apache.beehive.controls.api.bean.ControlExtension;
-import org.apache.beehive.controls.api.bean.ControlInterface;
-import org.apache.beehive.controls.api.properties.PropertySet;
-import org.apache.beehive.controls.api.events.EventSet;
-
-/**
- * A sub control extending ExtensibleControl.
- * This control declares one new method and one new propertySet.
- * It also resets the value of the propertySet inherited from ExtensibleControl.
- */
-//@ControlExtension ::JIRA-118 and JIRA-197
-@ControlInterface
-@ExtensibleControl.WhereAbout(Layer="On_SubControl_Interface_Layer")
-public interface SubControl extends ExtensibleControl
-{
-
-    static final String A_MESSAGE = "New Property Declared by Sub Control";
-
-	@PropertySet
-	@Retention(RetentionPolicy.RUNTIME)
-	public @interface NewProperty
-	{
-		String Message() default A_MESSAGE;
-    }
-
-    @EventSet
-    public interface SubClassEvent
-    {
-        public void method1();
-    }
-
-    public String hello2();
-    public String accessInheritedProperty();
-    public String getAnnotatedInheritedPropertyByContext();
-    public String getExtendedPropertyByContext();
-    public int invokeInheritedEventFromSubControl();
-    public int invokeExtendedEventFromSubControl();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.controls.test.controls.extension;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import org.apache.beehive.controls.api.bean.ControlExtension;
+import org.apache.beehive.controls.api.bean.ControlInterface;
+import org.apache.beehive.controls.api.properties.PropertySet;
+import org.apache.beehive.controls.api.events.EventSet;
+
+/**
+ * A sub control extending ExtensibleControl.
+ * This control declares one new method and one new propertySet.
+ * It also resets the value of the propertySet inherited from ExtensibleControl.
+ */
+//@ControlExtension ::JIRA-118 and JIRA-197
+@ControlInterface
+@ExtensibleControl.WhereAbout(Layer="On_SubControl_Interface_Layer")
+public interface SubControl extends ExtensibleControl
+{
+
+    static final String A_MESSAGE = "New Property Declared by Sub Control";
+
+	@PropertySet
+	@Retention(RetentionPolicy.RUNTIME)
+	public @interface NewProperty
+	{
+		String Message() default A_MESSAGE;
+    }
+
+    @EventSet
+    public interface SubClassEvent
+    {
+        public void method1();
+    }
+
+    public String hello2();
+    public String accessInheritedProperty();
+    public String getAnnotatedInheritedPropertyByContext();
+    public String getExtendedPropertyByContext();
+    public int invokeInheritedEventFromSubControl();
+    public int invokeExtendedEventFromSubControl();
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs (original)
+++ beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs Fri Aug 12 08:12:28 2005
@@ -1,76 +1,76 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
- 
-package org.apache.beehive.controls.test.controls.extension;
-
-import org.apache.beehive.controls.api.context.Context;
-import org.apache.beehive.controls.api.context.ControlBeanContext;
-import org.apache.beehive.controls.api.bean.ControlImplementation;
-import org.apache.beehive.controls.api.events.Client;
-
-/**
- * A control impl of a SubControl and extending ExtensibleControlImpl.
- * It accesses the propertySets inherited from ExtensibleControl, and extended by
- * its own interface.
- */
-@ControlImplementation
-public class SubControlImpl extends ExtensibleControlImpl
-                            implements SubControl, java.io.Serializable
-{
-    @Context ControlBeanContext context;
-
-    @Client SubControl.SuperClassEvent superevent;
-    @Client SubControl.SubClassEvent subevent;
-
-    public String hello2()
-    {
-	return "Hello from subcontrol";
-    }
-    /*Accessing the propertySet inherited from ExtensibleControl*/
-    public String accessInheritedProperty()
-    {
-        /**Bug: could not refer to WhereAbout directly*/
-        ExtensibleControl.WhereAbout where=(ExtensibleControl.WhereAbout)context.getControlPropertySet(ExtensibleControl.WhereAbout.class);
-        
-        return where.Position();    
-    }
-
-	public String getAnnotatedInheritedPropertyByContext(){
-        ExtensibleControl.Origin origin=(ExtensibleControl.Origin)context.getControlPropertySet(ExtensibleControl.Origin.class);       
-        return origin.Birthplace();    
-	}
-
-    public String getExtendedPropertyByContext(){
-
-        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
-        
-        return newproperty.Message();    
-    }
-
-    public int invokeInheritedEventFromSubControl(){
-    
-    	superevent.method1();
-    	return 0;
-    }
-    public int invokeExtendedEventFromSubControl(){
-
-    	subevent.method1();
-    	return 0;
-    }
-    
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+ 
+package org.apache.beehive.controls.test.controls.extension;
+
+import org.apache.beehive.controls.api.context.Context;
+import org.apache.beehive.controls.api.context.ControlBeanContext;
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+import org.apache.beehive.controls.api.events.Client;
+
+/**
+ * A control impl of a SubControl and extending ExtensibleControlImpl.
+ * It accesses the propertySets inherited from ExtensibleControl, and extended by
+ * its own interface.
+ */
+@ControlImplementation
+public class SubControlImpl extends ExtensibleControlImpl
+                            implements SubControl, java.io.Serializable
+{
+    @Context ControlBeanContext context;
+
+    @Client SubControl.SuperClassEvent superevent;
+    @Client SubControl.SubClassEvent subevent;
+
+    public String hello2()
+    {
+	return "Hello from subcontrol";
+    }
+    /*Accessing the propertySet inherited from ExtensibleControl*/
+    public String accessInheritedProperty()
+    {
+        /**Bug: could not refer to WhereAbout directly*/
+        ExtensibleControl.WhereAbout where=(ExtensibleControl.WhereAbout)context.getControlPropertySet(ExtensibleControl.WhereAbout.class);
+        
+        return where.Position();    
+    }
+
+	public String getAnnotatedInheritedPropertyByContext(){
+        ExtensibleControl.Origin origin=(ExtensibleControl.Origin)context.getControlPropertySet(ExtensibleControl.Origin.class);       
+        return origin.Birthplace();    
+	}
+
+    public String getExtendedPropertyByContext(){
+
+        SubControl.NewProperty newproperty=(SubControl.NewProperty)context.getControlPropertySet(SubControl.NewProperty.class);
+        
+        return newproperty.Message();    
+    }
+
+    public int invokeInheritedEventFromSubControl(){
+    
+    	superevent.method1();
+    	return 0;
+    }
+    public int invokeExtendedEventFromSubControl(){
+
+    	subevent.method1();
+    	return 0;
+    }
+    
+}

Propchange: beehive/trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/extension/SubControlImpl.jcs
------------------------------------------------------------------------------
    svn:eol-style = native