You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2005/06/11 00:51:52 UTC

svn commit: r190031 - /incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml

Author: steveh
Date: Fri Jun 10 15:51:52 2005
New Revision: 190031

URL: http://svn.apache.org/viewcvs?rev=190031&view=rev
Log:
A fix for BEEHIVE-117: ControlsProgramming doc: error in control extension sample

Modified:
    incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml

Modified: incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml?rev=190031&r1=190030&r2=190031&view=diff
==============================================================================
--- incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml (original)
+++ incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/controls/controlsProgramming.xml Fri Jun 10 15:51:52 2005
@@ -700,23 +700,23 @@
 <p><strong>Declaring a Control Extension (Control Extension Interface)</strong></p>
 <source>package org.apache.beehive.controls.examples;
 
-import org.apache.beehive.controls.api.bean.ControlExtension;
+import org.apache.beehive.controls.api.bean.ControlInterface;
 
-<strong>@ControlExtension</strong>
+<strong>@ControlInterface</strong>
 @Destination(type=JmsMessageControl.QUEUE, name="queue.orders")
 <strong>public interface OrderQueue extends JmsMessageControl</strong>
 {
     ...
 }</source>
-<p>This example shows that this interface shows that property values can be configured on the extended interface to further parameterize the use case.   In this case, the  InvoiceQueue interface is being designed for a very specific use case:  to enable orders to be enqueued to a JMS queue named "queue.orders".</p>
+<p>This example shows how property values can be configured on the extended interface to further parameterize the use case.   In this case, the  InvoiceQueue interface is being designed for a very specific use case:  to enable orders to be enqueued to a JMS queue named "queue.orders".</p>
 <p>Once defined, the Control extension author can now begin to define additional operations on it, in this case the ability to enqueue messages to the OrderQueue by calling methods on it.</p>
 
 <p><strong>Declaring Extended Operations with Properties (Control Extension Interface)</strong></p>
 <source>package org.apache.beehive.controls.examples;
 
-import org.apache.beehive.controls.api.bean.ControlExtension;
+import org.apache.beehive.controls.api.bean.ControlInterface;
 
-@ControlExtension
+@ControlInterface
 @Destination(type=JmsMessageControl.QUEUE, name="queue.orders")
 <strong>public interface OrderQueue extends JmsMessageControl</strong>
 {