Overlord SVN: r419 - cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-10-31 06:43:35 -0400 (Fri, 31 Oct 2008)
New Revision: 419
Modified:
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java
Log:
* Update javadoc.
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java 2008-10-31 10:40:23 UTC (rev 418)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java 2008-10-31 10:43:35 UTC (rev 419)
@@ -37,6 +37,7 @@
* The configuration would be like:
*
* <pre>
+ * {@literal
* <action class="org.jboss.soa.overlord.jbossesb.actions.RetrieveSessionAction"
* process="process" name="s11-1">
* <property name="session" value="org.jboss.soa.overlord.samples.jbossesb.loan.broker.CompleteTransactionMain" />
@@ -47,6 +48,7 @@
* </identity>
* </property>
* </action>
+ * }
* </pre>
*
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
15 years, 6 months
Overlord SVN: r418 - cdl/trunk/runtime/jbossesb-assembly/src/main/resources/cdl-sql.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-10-31 06:40:23 -0400 (Fri, 31 Oct 2008)
New Revision: 418
Added:
cdl/trunk/runtime/jbossesb-assembly/src/main/resources/cdl-sql/cdl.mysqldb.sql
Log:
*[SOAG-71] Add mysql specific sql.
Added: cdl/trunk/runtime/jbossesb-assembly/src/main/resources/cdl-sql/cdl.mysqldb.sql
===================================================================
--- cdl/trunk/runtime/jbossesb-assembly/src/main/resources/cdl-sql/cdl.mysqldb.sql (rev 0)
+++ cdl/trunk/runtime/jbossesb-assembly/src/main/resources/cdl-sql/cdl.mysqldb.sql 2008-10-31 10:40:23 UTC (rev 418)
@@ -0,0 +1,23 @@
+ create table CDL_EPRS (ID bigint not null auto_increment,name varchar(255),EPR text, SESSION_ID bigint, primary key (ID));
+
+ create table CDL_IDENTITY (ID bigint not null auto_increment,TYPE varchar(255),PROPERTY_VALUE varchar(255),SERVICE_NAME varchar(255),SESSION_ID bigint not null,primary key (ID));
+
+ create table CDL_JOIN_STATES (ID bigint not null auto_increment,CATEGORY varchar(255) not null,NAME varchar(255) not null,ITEM_COUNT integer,SESSION_ID bigint,primary key (ID));
+
+ create table CDL_SCHEDULE_ITEM (ID bigint not null auto_increment,CATEGORY varchar(255) not null,NAME varchar(255) not null,SESSION_ID bigint,primary key (ID));
+
+ create table CDL_SESSION (SESSION_ID bigint not null auto_increment,STATUS varchar(255),POJO_CLASS varchar(255),SERVICE_NAME varchar(255),CONVERSATION_TYPE varchar(255),Business_OBJECT blob,PARENT_ID bigint,primary key (SESSION_ID));
+
+ create table CDL_SESSION_PROPERTY (SESSION_ID bigint not null,property_value varchar(255),property_key varchar(255),primary key (SESSION_ID, property_key));
+
+ alter table CDL_EPRS add index FKC42217E04BA6EBA4 (SESSION_ID), add constraint FKC42217E04BA6EBA4 foreign key (SESSION_ID) references CDL_SESSION (SESSION_ID);
+
+ alter table CDL_IDENTITY add index FK41FEEA724BA6EBA4 (SESSION_ID),add constraint FK41FEEA724BA6EBA4 foreign key (SESSION_ID) references CDL_SESSION (SESSION_ID);
+
+ alter table CDL_JOIN_STATES add index FKBBDE50834BA6EBA4 (SESSION_ID), add constraint FKBBDE50834BA6EBA4 foreign key (SESSION_ID) references CDL_SESSION (SESSION_ID);
+
+ alter table CDL_SCHEDULE_ITEM add index FKA52316874BA6EBA4 (SESSION_ID), add constraint FKA52316874BA6EBA4 foreign key (SESSION_ID) references CDL_SESSION (SESSION_ID);
+
+ alter table CDL_SESSION add index FKD597E4263FFBD10 (PARENT_ID), add constraint FKD597E4263FFBD10 foreign key (PARENT_ID) references CDL_SESSION (SESSION_ID);
+
+ alter table CDL_SESSION_PROPERTY add index FK3C6B324BA6EBA4 (SESSION_ID), add constraint FK3C6B324BA6EBA4 foreign key (SESSION_ID) references CDL_SESSION (SESSION_ID);
15 years, 6 months
Overlord SVN: r417 - in cdl/trunk: docs/docbook/userguide/src/main/module and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-24 07:16:07 -0400 (Fri, 24 Oct 2008)
New Revision: 417
Modified:
cdl/trunk/distribution/src/main/release/ReleaseNotes.txt
cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml
Log:
Added warning regarding alpha status of conversation aware ESB action mechanism.
Modified: cdl/trunk/distribution/src/main/release/ReleaseNotes.txt
===================================================================
--- cdl/trunk/distribution/src/main/release/ReleaseNotes.txt 2008-10-22 22:06:34 UTC (rev 416)
+++ cdl/trunk/distribution/src/main/release/ReleaseNotes.txt 2008-10-24 11:16:07 UTC (rev 417)
@@ -1,5 +1,5 @@
-Overlord CDL 1.0-CR1
-====================
+Overlord CDL 1.0-M1
+===================
See the README.txt for more information about the Overlord CDL release.
@@ -9,6 +9,12 @@
questions to the User forum, or raise issues against the SOAG component
in Jira issue tracker.
+Please note: The "conversation aware ESB actions" mechanism should be
+considered an alpha version only, and subject to change in future
+releases. Its inclusion within this release is intended to enable the
+community to experiment with the approach and hopefully provide feedback
+that can be used to guide the direction of this capability.
+
Overlord-CDL Development Team
------------------------------------------------------------------------
Modified: cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml
===================================================================
--- cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml 2008-10-22 22:06:34 UTC (rev 416)
+++ cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml 2008-10-24 11:16:07 UTC (rev 417)
@@ -4,6 +4,15 @@
<chapter id="conversationawareesb">
<title>Conversation Aware ESB</title>
<section>
+
+ <warning>
+ <para>
+The <emphasis>conversation aware ESB actions</emphasis> mechanism should be considered an alpha version only,
+and subject to change in future releases. Its inclusion within this release is intended to enable the community
+to experiment with the approach and hopefully provide feedback that can be used to guide the direction of this capability.
+ </para>
+ </warning>
+
<title>Conversation based Conformance</title>
<section>
<title>Overview</title>
15 years, 6 months
Overlord SVN: r416 - in cdl/trunk/docs/docbook/userguide/src/main: module and 1 other directory.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-22 18:06:34 -0400 (Wed, 22 Oct 2008)
New Revision: 416
Added:
cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorann.png
cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatoranndiag.png
cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannparams.png
cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannselect.png
cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatordialog.png
cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatormenu.png
Modified:
cdl/trunk/docs/docbook/userguide/src/main/images/genesbconfig1.png
cdl/trunk/docs/docbook/userguide/src/main/images/setconversationtype.png
cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml
cdl/trunk/docs/docbook/userguide/src/main/module/conversation-validation-with-cdl.xml
Log:
Updated images, added 'WhenAction' description, and added section discussing new validator-config.xml generator.
Added: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorann.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorann.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatoranndiag.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatoranndiag.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannparams.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannparams.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannselect.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/editvalidatorannselect.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/docs/docbook/userguide/src/main/images/genesbconfig1.png
===================================================================
(Binary files differ)
Added: cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatordialog.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatordialog.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatormenu.png
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/docs/docbook/userguide/src/main/images/genvalidatormenu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/docs/docbook/userguide/src/main/images/setconversationtype.png
===================================================================
(Binary files differ)
Modified: cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml
===================================================================
--- cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml 2008-10-22 17:51:16 UTC (rev 415)
+++ cdl/trunk/docs/docbook/userguide/src/main/module/conversation-aware-esb.xml 2008-10-22 22:06:34 UTC (rev 416)
@@ -202,7 +202,7 @@
process="process" name="...">
....
<property name="conversationType"
- value="jboss.overlord.samples.LoanBroker@Broker" />
+ value="overlord.cdl.samples.LoanBroker@Broker" />
....
</action>
]]></programlisting>
@@ -211,7 +211,7 @@
The <emphasis>conversation type</emphasis> is specified in the <emphasis>CreateSessionAction</emphasis> ESB action, described later in this section, and is associated as a semantic annotation against the relevant Participant Type or Participant Instance within the choreography description.
<para>
</para>
-To associate the <emphasis>conversation type</emphasis> with either the Participant Type or Instance, open the choreography description in the <emphasis>pi4soa</emphasis> choreography designer. Then select the "Choreography->Edit Annotations" menu item from the context menu associated with the Participant Type or Instance. In the lefthand panel, select "Add Freeform Annotation" from the context menu, then specify "conversationType" as the annotation type and press 'Ok'. Then select the 'Annotation' tab in the righthand panel, and enter the conversation type, e.g. "jboss.overlord.samples.LoanBroker@Broker". Note the '@' is important, as the following word indicates the 'role' associated with the conversation type which precedes the '@' symbol.
+To associate the <emphasis>conversation type</emphasis> with either the Participant Type or Instance, open the choreography description in the <emphasis>pi4soa</emphasis> choreography designer. Then select the "Choreography->Edit Annotations" menu item from the context menu associated with the Participant Type or Instance. In the lefthand panel, select "Add Freeform Annotation" from the context menu, then specify "conversationType" as the annotation type and press 'Ok'. Then select the 'Annotation' tab in the righthand panel, and enter the conversation type, e.g. "overlord.cdl.samples.LoanBroker@Broker". Note the '@' is important, as the following word indicates the 'role' associated with the conversation type which precedes the '@' symbol.
</para>
<imagedata fileref="images/setconversationtype.png" width="4in" />
@@ -244,7 +244,7 @@
import org.jboss.soa.overlord.jbossesb.actions.Service;
@Service(name="{http://www.jboss.org/overlord/loanBroker}Broker",
- conversationType="jboss.overlord.samples.LoanBroker@Broker",
+ conversationType="overlord.cdl.samples.LoanBroker@Broker",
root=true)
public class BrokerMain {
....
@@ -667,23 +667,18 @@
<informalexample>
<programlisting role="XML" ><![CDATA[
- <service category="ESBBroker.BrokerParticipant" name="ESBBrokerProcess.main.1" description="">
- ......
- <actions mep="OneWay">
- <action class="org.jboss.soa.overlord.jbossesb.actions.WhileAction"
- process="process" name="...">
- <property name="paths">
- <while expression="hasNextSupplier()"
- service-category="ESBBroker.BrokerParticipant"
- service-name="ESBBrokerProcess.main.2"
- immediate="true" />
- <exit service-category="ESBBroker.BrokerParticipant"
- service-name="ESBBrokerProcess.main.3"
- immediate="true" />
- </property>
- </action>
- </actions>
- </service>
+ <action class="org.jboss.soa.overlord.jbossesb.actions.WhileAction"
+ process="process" name="...">
+ <property name="paths">
+ <while expression="hasNextSupplier()"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.2"
+ immediate="true" />
+ <exit service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.3"
+ immediate="true" />
+ </property>
+ </action>
]]></programlisting>
</informalexample>
@@ -713,7 +708,41 @@
</para>
</section>
+
<section>
+ <title>Blocking awaiting a decision</title>
+ <para>
+The <emphasis>WhenAction</emphasis> is used to block one or more awaiting paths, until an expression associated
+with one of the paths becomes true.
+ </para>
+ <para>
+For example,
+ </para>
+ <informalexample>
+ <programlisting role="XML" ><![CDATA[
+
+ <action class="org.jboss.soa.overlord.jbossesb.actions.WhenAction"
+ process="process" name="s4-1">
+ <property name="session"
+ value="org.jboss.soa.overlord.samples.jbossesb.loan.broker.BrokerMain" />
+ <property name="paths">
+ <when expression="receivedAllQuotes()"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.4" />
+ </property>
+ </action>
+ ]]></programlisting>
+ </informalexample>
+
+ <para>
+In this example, there is only one path defined, which will block until the <emphasis>receivedAllQuotes()</emphasis>
+expression becomes true. When this expression evaluates to true, the service category and name defined for the
+<emphasis>when</emphasis> element will be scheduled.
+ </para>
+
+ </section>
+
+ <section>
<title>Composing reusable sub-conversions into a higher level conversation</title>
<para>
The ability to compose reusable modules into higher level functions is a useful capability in any language. This mechanism is also supported in the "conversation aware" ESB actions, using the <emphasis>PerformAction</emphasis> to invoke a sub-session. For example,
@@ -767,7 +796,7 @@
<section>
<title>Generating the JBossESB Configuration</title>
<para>
-When the choreography description has been completed, and has no errors, the user should select the "Overlord->JBossESB->Generate" menu item from the context menu associated with the choreography description (.cdm) file.
+When the choreography description has been completed, and has no errors, the user should select the "Overlord->JBossESB->Generate ESB Services" menu item from the context menu associated with the choreography description (.cdm) file.
</para>
<imageobject>
Modified: cdl/trunk/docs/docbook/userguide/src/main/module/conversation-validation-with-cdl.xml
===================================================================
--- cdl/trunk/docs/docbook/userguide/src/main/module/conversation-validation-with-cdl.xml 2008-10-22 17:51:16 UTC (rev 415)
+++ cdl/trunk/docs/docbook/userguide/src/main/module/conversation-validation-with-cdl.xml 2008-10-22 22:06:34 UTC (rev 416)
@@ -130,6 +130,115 @@
</section>
<section>
+ <title>Generating the Validator Configuration from a Choreography</title>
+
+ <section>
+ <title>Defining the ESB Service endpoints</title>
+
+ <para>
+ The first step to configuring the validator is to associate the endpoint references (EPRs)
+ against the relevant choreography interactions. This is achieved by defining an
+ annotation for each 'exchange details' component (i.e. each request and response/notification).
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/editvalidatorann.png" width="5in" />
+ </imageobject>
+
+ <para>
+ When the annotation editor is displayed for the relevant 'exchange details' component,
+ the <emphasis>jbossesb</emphasis> annotation should be added. This is achieved by
+ selecting the context menu associated with the background of the lefthand panel,
+ and selecting the <emphasis>Add Defined Annotation</emphasis> menu item.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/editvalidatoranndiag.png" width="5in" />
+ </imageobject>
+
+ <para>
+ When the list of defined annotations is displayed, select the
+ <emphasis>jbossesb</emphasis> annotation.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/editvalidatorannselect.png" width="3in" />
+ </imageobject>
+
+ <para>
+ After pressing the <emphasis>Ok</emphasis> button, the annotation editor
+ will configure the righthand panel with the parameters associated with this
+ annotation.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/editvalidatorannparams.png" width="5in" />
+ </imageobject>
+
+ <para>
+ To specify the EPR for a particular message exchange, enter the EPR into the
+ <emphasis>Destination</emphasis> field. If however a temporary destination is
+ used for a message exchange (usually when dealing with responses), then the
+ <emphasis>temporary</emphasis> checkbox should be selected.
+ </para>
+
+ <para>
+ Once the annotation has been defined, then press the <emphasis>Save</emphasis>
+ button to save the annotation against the interaction's exchange details.
+ </para>
+
+ </section>
+
+ <section>
+ <title>Generating the <emphasis>validator-config.xml</emphasis></title>
+
+ <para>
+ To generate the validator configuration details from a choreography description
+ into the format used by the central configuration mechanism (described previously),
+ select the <emphasis>Overlord->JBossESB->Generate Validator</emphasis> menu item
+ associated with the context menu for the choreography description.
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/genvalidatormenu.png" width="5in" />
+ </imageobject>
+
+ <para>
+ When the dialog box is displayed, either enter the path to the <filename>validator-config.xml</filename>
+ in the text field, or use the <emphasis>Browse</emphasis> button to locate the file3
+ </para>
+
+ <imageobject>
+ <imagedata fileref="images/genvalidatordialog.png" width="5in" />
+ </imageobject>
+
+ <para>
+ If the selected file does not exist, then when the <emphasis>Ok</emphasis> button is pressed,
+ it will be created with the validator configuration associated with the choreography
+ description.
+ </para>
+
+ <para>
+ If the selected file already exists, then any 'service' entries associated with the
+ choreography file will be updated with the new information from the choreography
+ description. All other entries in the selected validator configuration file will be
+ retained.
+ </para>
+
+ <note>
+ <para>
+ If the <emphasis>validator-config.xml</emphasis> file within the JBoss server environment
+ is directly updated, then the server will need to be restarted before the new configuration
+ will take effect. Tools to support hot reconfiguration of this file will be provided
+ in the future.
+ </para>
+ </note>
+
+ </section>
+
+ </section>
+
+ <section>
<title>Monitoring the Choreography Description</title>
<para>
Once the JBossESB environment has been configured, to perform service validation of a set of ESB services against a choreography
@@ -165,7 +274,9 @@
The next step is to launch the monitoring tool. This is located on the context menu, for the choreography description (i.e. .cdm) file, by selecting the Choreography->Monitor menu item. Once the tool has been launched, it will load the choreography description, subscribe to the relevant event destination, and then indicate via a message in the bottom status line that it is ready to monitor.
</para>
- <imagedata fileref="images/monitorui.png" width="5in" />
+ <imageobject>
+ <imagedata fileref="images/monitorui.png" width="5in" />
+ </imageobject>
<para>
When the information is received, from the service validators representing the different participants (services), it is correlated to show the global status of the business transaction. The list of correlated interactions is show in reverse time order in the image, so in this example a <emphasis>LoanBroker</emphasis> sends a <emphasis>creditCheck</emphasis> message to a <emphasis>CreditAgency</emphasis>, followed by a <emphasis>creditCheckResult</emphasis> being returned.
15 years, 6 months
Overlord SVN: r415 - in cdl/trunk/distribution/eclipse: features and 1 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-22 13:51:16 -0400 (Wed, 22 Oct 2008)
New Revision: 415
Added:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810221847.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810221847.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810221847.jar
Removed:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810212315.jar
Modified:
cdl/trunk/distribution/eclipse/site.xml
Log:
Updated with 'Generate Validator' configuration capability.
Deleted: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810221847.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810221847.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/distribution/eclipse/site.xml
===================================================================
--- cdl/trunk/distribution/eclipse/site.xml 2008-10-22 17:46:47 UTC (rev 414)
+++ cdl/trunk/distribution/eclipse/site.xml 2008-10-22 17:51:16 UTC (rev 415)
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200810212315">
+ <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810221847.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200810221847">
<category name="JBossESB"/>
</feature>
- <feature url="features/org.scribble.conversation.feature_0.1.0.200810212315.jar" id="org.scribble.conversation.feature" version="0.1.0.200810212315">
+ <feature url="features/org.scribble.conversation.feature_0.1.0.200810221847.jar" id="org.scribble.conversation.feature" version="0.1.0.200810221847">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.experimental.feature_0.1.0.200810212315.jar" id="org.scribble.experimental.feature" version="0.1.0.200810212315">
+ <feature url="features/org.scribble.experimental.feature_0.1.0.200810221847.jar" id="org.scribble.experimental.feature" version="0.1.0.200810221847">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.feature_0.1.0.200810212315.jar" id="org.scribble.feature" version="0.1.0.200810212315">
+ <feature url="features/org.scribble.feature_0.1.0.200810221847.jar" id="org.scribble.feature" version="0.1.0.200810221847">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.protocol.feature_0.1.0.200810212315.jar" id="org.scribble.protocol.feature" version="0.1.0.200810212315">
+ <feature url="features/org.scribble.protocol.feature_0.1.0.200810221847.jar" id="org.scribble.protocol.feature" version="0.1.0.200810221847">
<category name="Common"/>
</feature>
<category-def name="JBossESB" label="JBossESB">
15 years, 6 months
Overlord SVN: r414 - in cdl/trunk/tools/plugins: org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/eclipse and 9 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-22 13:46:47 -0400 (Wed, 22 Oct 2008)
New Revision: 414
Added:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/.settings/org.eclipse.jdt.ui.prefs
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/actions/
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/actions/GenerateValidatorAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/dialogs/
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/dialogs/GenerateValidatorDialog.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/generator/
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/generator/ValidatorGenerator.java
Modified:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/plugin.xml
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/eclipse/Activator.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/META-INF/MANIFEST.MF
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/annotations/cdl/jbossesb.presentation
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/plugin.xml
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/eclipse/Activator.java
Log:
Added dialog and generator for the validator configuration file.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/plugin.xml
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/plugin.xml 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/plugin.xml 2008-10-22 17:46:47 UTC (rev 414)
@@ -25,7 +25,7 @@
<separator name="group2"/>
</menu>
<action
- label="Generate"
+ label="Generate ESB Services"
class="org.jboss.tools.overlord.cdl.runtime.jbossesb.actions.GenerateAction"
menubarPath="org.jboss.tools.overlord.menu/jbossesb.menu/group2"
enablesFor="1"
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/eclipse/Activator.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/eclipse/Activator.java 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/eclipse/Activator.java 2008-10-22 17:46:47 UTC (rev 414)
@@ -88,5 +88,5 @@
(t == null ? "" : ": "+t));
}
- private static Logger logger = Logger.getLogger("org.pi4soa.service.generation.eclipse");
+ private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.runtime.jbossesb.eclipse");
}
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/.settings/org.eclipse.jdt.ui.prefs
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/.settings/org.eclipse.jdt.ui.prefs (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/.settings/org.eclipse.jdt.ui.prefs 2008-10-22 17:46:47 UTC (rev 414)
@@ -0,0 +1,4 @@
+#Wed Oct 22 11:13:10 BST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.javadoc=false
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_cont!
ext" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment!
_context" deleted\="false" description\="Comment for overriding method
s" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Javadoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*\r\n * JBoss, Home of Professional Open Source\r\n * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated\r\n * by the @authors tag. All rights reserved.\r\n * See the copyright.txt in the distribution for a\r\n * full listing of individual contributors.\r\n * This copyrighted material is made available to anyone wishing !
to use,\r\n * modify, copy, or redistribute it subject to the terms and conditions\r\n * of the GNU Lesser General Public License, v. 2.1.\r\n * This program is distributed in the hope that it will be useful, but WITHOUT A\r\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\r\n * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\r\n * You should have received a copy of the GNU Lesser General Public License,\r\n * v.2.1 along with this distribution; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\r\n * MA 02110-1301, USA.\r\n */\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" con!
text\="interfacebody_context" deleted\="false" description\="Code in n
ew interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in!
created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" cont!
ext\="gettercomment_context" deleted\="false" description\="Comment fo
r getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \!
r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplat!
es.overridecomment" name\="overridecomment">/* (non-Jsdoc)\r\n * ${see
_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.ecli!
pse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><!
template autoinsert\="true" context\="setterbody_context" deleted\="fa
lse" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/META-INF/MANIFEST.MF
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/META-INF/MANIFEST.MF 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/META-INF/MANIFEST.MF 2008-10-22 17:46:47 UTC (rev 414)
@@ -7,6 +7,8 @@
Bundle-Vendor: www.jboss.org
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- org.pi4soa.common;bundle-version="2.0.0"
+ org.pi4soa.common;bundle-version="2.0.0",
+ org.eclipse.core.resources;bundle-version="3.4.0",
+ org.pi4soa.cdl;bundle-version="2.0.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/annotations/cdl/jbossesb.presentation
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/annotations/cdl/jbossesb.presentation 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/annotations/cdl/jbossesb.presentation 2008-10-22 17:46:47 UTC (rev 414)
@@ -1,5 +1,3 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
-The JBossESB Service destination is <xsl:if test="jbossesb/destination/@name != ''" >'<xsl:value-of select="jbossesb/destination/@name" />' </xsl:if><xsl:if test="jbossesb/destination/@name = ''" >'undefined' </xsl:if> [temporary=<xsl:value-of select="jbossesb/destination/@temporary"/>]
-</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+The JBossESB Service destination is <xsl:if test="jbossesb/destination/@name != ''" >'<xsl:value-of select="jbossesb/destination/@name" />' </xsl:if><xsl:if test="jbossesb/destination/@name = ''" >'undefined' </xsl:if> [temporary=<xsl:value-of select="jbossesb/destination/@temporary"/>]</xsl:template></xsl:stylesheet>
\ No newline at end of file
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/plugin.xml
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/plugin.xml 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/plugin.xml 2008-10-22 17:46:47 UTC (rev 414)
@@ -8,4 +8,36 @@
</annotationsManager>
</extension>
+ <extension
+ id="org.jboss.tools.overlord.cdl.validator.jbossesb.extension"
+ name="Overlord CDL Validator JBossESB extension"
+ point="org.scribble.extension">
+ </extension>
+
+ <extension point="org.eclipse.ui.popupMenus">
+ <objectContribution
+ id="org.jboss.tools.overlord.cdl.validator.jbossesb.object.contribution"
+ objectClass="org.eclipse.core.resources.IFile"
+ nameFilter="*.cdm">
+ <menu
+ id="org.jboss.tools.overlord.menu"
+ label="Overlord"
+ path="additions">
+ <separator name="group1"/>
+ </menu>
+ <menu
+ id="jbossesb.menu"
+ label="JBossESB"
+ path="org.jboss.tools.overlord.menu/additions">
+ <separator name="group2"/>
+ </menu>
+ <action
+ label="Generate Validator"
+ class="org.jboss.tools.overlord.cdl.validator.jbossesb.actions.GenerateValidatorAction"
+ menubarPath="org.jboss.tools.overlord.menu/jbossesb.menu/group2"
+ enablesFor="1"
+ id="org.jboss.tools.overlord.cdl.validator.jbossesb.actions.GenerateAction">
+ </action>
+ </objectContribution>
+ </extension>
</plugin>
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/actions/GenerateValidatorAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/actions/GenerateValidatorAction.java (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/actions/GenerateValidatorAction.java 2008-10-22 17:46:47 UTC (rev 414)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.tools.overlord.cdl.validator.jbossesb.actions;
+
+import java.util.logging.Logger;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.MessageBox;
+import org.eclipse.ui.IObjectActionDelegate;
+import org.eclipse.ui.IWorkbenchPart;
+import org.pi4soa.common.resource.eclipse.*;
+
+import org.jboss.tools.overlord.cdl.validator.jbossesb.dialogs.*;
+
+/**
+ * This class implements the action to generate the JBossESB
+ * validator configuration associated with a supplied choreography.
+ */
+public class GenerateValidatorAction implements IObjectActionDelegate {
+
+ private static final String CANNOT_GENERATE = "Choreography has errors, so cannot generate";
+
+ public GenerateValidatorAction() {
+ }
+
+ /**
+ * This method implements the action's run method.
+ *
+ * @param action The action
+ */
+ public void run(IAction action) {
+ if (m_selection instanceof StructuredSelection) {
+ StructuredSelection sel=(StructuredSelection)m_selection;
+
+ IResource res=(IResource)sel.getFirstElement();
+
+ if (res instanceof IFile) {
+
+ if (ResourceUtil.hasErrors(res) == false) {
+
+ // Load the CDL model
+ org.pi4soa.cdl.Package cdlpack=null;
+ String path=res.getLocation().toOSString();
+
+ try {
+ cdlpack = org.pi4soa.cdl.CDLManager.load(path);
+
+ } catch(java.io.IOException ioe) {
+ logger.severe("Failed to load CDL '"+path+"': "+ioe);
+ }
+
+ GenerateValidatorDialog dialog=
+ new GenerateValidatorDialog(m_targetPart.getSite().getShell(),
+ (IFile)res, cdlpack);
+
+ try {
+ dialog.open();
+ } catch(Throwable e) {
+ logger.log(java.util.logging.Level.SEVERE,
+ "Failed to open generate dialog", e);
+ }
+ } else {
+ warn(CANNOT_GENERATE);
+ }
+ }
+ }
+ }
+
+ /**
+ * This method indicates that the selection has changed.
+ *
+ * @param action The action
+ * @param selection The selection
+ */
+ public void selectionChanged(IAction action,
+ ISelection selection) {
+ m_selection = selection;
+ }
+
+ /**
+ * This method sets the currently active workbench part.
+ *
+ * @param action The action
+ * @param targetPart The active workbench part
+ */
+ public void setActivePart(IAction action,
+ IWorkbenchPart targetPart) {
+ m_targetPart = targetPart;
+ }
+
+ /**
+ * This method is used to report a warning.
+ *
+ * @param mesg The warning message
+ */
+ public void warn(String mesg) {
+
+ MessageBox mbox=new MessageBox(m_targetPart.getSite().getShell(),
+ SWT.ICON_WARNING|SWT.OK);
+ mbox.setMessage(mesg);
+ mbox.open();
+ }
+
+ private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.validator.jbossesb.actions");
+
+ private ISelection m_selection=null;
+ private IWorkbenchPart m_targetPart=null;
+}
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/dialogs/GenerateValidatorDialog.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/dialogs/GenerateValidatorDialog.java (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/dialogs/GenerateValidatorDialog.java 2008-10-22 17:46:47 UTC (rev 414)
@@ -0,0 +1,218 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.tools.overlord.cdl.validator.jbossesb.dialogs;
+
+import java.util.logging.Logger;
+
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.*;
+import org.eclipse.swt.events.*;
+import org.eclipse.swt.widgets.*;
+import org.eclipse.core.resources.IFile;
+import org.jboss.tools.overlord.cdl.validator.jbossesb.generator.*;
+
+/**
+ * This class provides the dialog for generating JBossESB
+ * service artefacts.
+ */
+public class GenerateValidatorDialog extends org.eclipse.jface.dialogs.Dialog {
+
+ /**
+ * This is the constructor for the generate dialog.
+ *
+ * @param shell The shell
+ * @param cdlpack The CDL
+ */
+ public GenerateValidatorDialog(Shell shell, IFile file,
+ org.pi4soa.cdl.Package cdlpack) {
+ super(shell);
+
+ m_file = file;
+ m_choreography = cdlpack;
+ }
+
+ /**
+ * Configure the dialog shell.
+ *
+ * @param shell The shell
+ */
+ protected void configureShell(Shell newShell) {
+ super.configureShell(newShell);
+
+ newShell.setText("Generate Validator for "+
+ m_choreography.getName());
+ }
+
+ /**
+ * This method creates the dialog details.
+ *
+ * @param parent The parent control
+ * @return The control containing the dialog components
+ */
+ protected Control createDialogArea(Composite parent) {
+
+ Composite composite=(Composite)super.createDialogArea(parent);
+
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 1;
+ composite.setLayout(layout);
+
+ GridData gd=null;
+
+ Group group=new Group(composite, SWT.H_SCROLL|SWT.V_SCROLL);
+
+ gd=new GridData();
+ gd.horizontalAlignment = SWT.FILL;
+ gd.horizontalSpan = 1;
+ gd.widthHint = 500;
+ gd.grabExcessHorizontalSpace = true;
+ group.setLayoutData(gd);
+
+ layout = new GridLayout();
+ layout.numColumns = 4;
+ group.setLayout(layout);
+
+ Label label2=new Label(group, SWT.NONE);
+ label2.setText("File path:");
+
+ gd=new GridData();
+ gd.horizontalAlignment = SWT.FILL;
+ gd.horizontalSpan = 1;
+ gd.grabExcessHorizontalSpace = true;
+ gd.widthHint = 100;
+ label2.setLayoutData(gd);
+
+ // Path
+ m_path = new Text(group, SWT.SINGLE | SWT.BORDER);
+ m_path.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL));
+
+ m_path.addModifyListener(new ModifyListener() {
+ public void modifyText(ModifyEvent e) {
+ checkStatus();
+ }
+ });
+
+ gd=new GridData();
+ gd.horizontalAlignment = SWT.FILL;
+ gd.horizontalSpan = 3;
+ gd.grabExcessHorizontalSpace = true;
+ gd.widthHint = 500;
+ m_path.setLayoutData(gd);
+
+ // Create a 'browse' button
+ m_browseButton=new Button(group, 0);
+
+ m_browseButton.setText("Browse");
+ m_browseButton.setToolTipText("Browse file system to locate or create "+
+ VALIDATOR_CONFIG_XML+" file");
+
+ m_browseButton.addSelectionListener(new org.eclipse.swt.events.SelectionListener() {
+ public void widgetSelected(SelectionEvent evt) {
+ FileDialog dialog=new FileDialog(getShell());
+
+ String filename=dialog.open();
+
+ if (filename != null) {
+
+ m_path.setText(filename);
+ }
+
+ checkStatus();
+ }
+
+ public void widgetDefaultSelected(SelectionEvent evt) {
+ }
+ });
+
+ return(composite);
+ }
+
+ @Override
+ protected Control createButtonBar(Composite parent) {
+ Control ret=super.createButtonBar(parent);
+
+ checkStatus();
+
+ return(ret);
+ }
+
+ protected void checkStatus() {
+ boolean f_error=false;
+
+ if (m_path.getText().trim().length() == 0) {
+ f_error = true;
+ } else {
+ java.io.File f=new java.io.File(m_path.getText());
+
+ if (f.getName().equals(VALIDATOR_CONFIG_XML) == false) {
+ f_error = true;
+ }
+ }
+
+ if (f_error) {
+ getButton(IDialogConstants.OK_ID).setEnabled(false);
+ } else {
+ getButton(IDialogConstants.OK_ID).setEnabled(true);
+ }
+ }
+
+ /**
+ * The ok button has been pressed.
+ */
+ public void okPressed() {
+
+ try {
+ ValidatorGenerator generator=new ValidatorGenerator();
+
+ generator.generate(m_choreography, m_file.getName(),
+ m_path.getText());
+
+ super.okPressed();
+ } catch(Exception e) {
+ error("Failed to generate ESB validator configuration", e);
+ }
+ }
+
+ /**
+ * This method is used to report an error.
+ *
+ * @param mesg The error message
+ * @param ex The exception
+ */
+ public void error(String mesg, Exception ex) {
+
+ org.jboss.tools.overlord.cdl.validator.jbossesb.eclipse.Activator.logError(mesg, ex);
+
+ MessageBox mbox=new MessageBox(getShell(),
+ SWT.ICON_ERROR|SWT.OK);
+ mbox.setMessage(mesg);
+ mbox.open();
+
+ logger.log(java.util.logging.Level.SEVERE, mesg, ex);
+ }
+
+ private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.validator.jbossesb.dialogs");
+
+ private static final String VALIDATOR_CONFIG_XML="validator-config.xml";
+
+ private org.pi4soa.cdl.Package m_choreography=null;
+ private Text m_path=null;
+ private Button m_browseButton=null;
+ private IFile m_file=null;
+}
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/eclipse/Activator.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/eclipse/Activator.java 2008-10-22 17:21:14 UTC (rev 413)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/eclipse/Activator.java 2008-10-22 17:46:47 UTC (rev 414)
@@ -1,5 +1,9 @@
package org.jboss.tools.overlord.cdl.validator.jbossesb.eclipse;
+import java.util.logging.Logger;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
@@ -47,4 +51,24 @@
return plugin;
}
+ /**
+ * This method logs an error against the plugin.
+ *
+ * @param mesg The error message
+ * @param t The optional exception
+ */
+ public static void logError(String mesg, Throwable t) {
+
+ if (getDefault() != null) {
+ Status status=new Status(IStatus.ERROR,
+ PLUGIN_ID, 0, mesg, t);
+
+ getDefault().getLog().log(status);
+ }
+
+ logger.severe("LOG ERROR: "+mesg+
+ (t == null ? "" : ": "+t));
+ }
+
+ private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.validator.jbossesb.eclipse");
}
Added: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/generator/ValidatorGenerator.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/generator/ValidatorGenerator.java (rev 0)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb/src/java/org/jboss/tools/overlord/cdl/validator/jbossesb/generator/ValidatorGenerator.java 2008-10-22 17:46:47 UTC (rev 414)
@@ -0,0 +1,279 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.tools.overlord.cdl.validator.jbossesb.generator;
+
+import java.util.Collections;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.pi4soa.cdl.*;
+import org.pi4soa.common.annotations.*;
+import org.pi4soa.common.xml.XMLUtils;
+
+/**
+ * This class provides a generator for the JBossESB Validator
+ * configuration.
+ */
+public class ValidatorGenerator {
+
+ private static final String CDM_FILE_PATH_ATTR = "cdmFilePath";
+ private static final String FILE_PATH_PREFIX = "models/";
+ private static final String SERVICE_ELEMENT = "service";
+ private static final String VALIDATOR_ELEMENT = "validator";
+
+ public ValidatorGenerator() {
+ }
+
+ public void generate(org.pi4soa.cdl.Package cdlpack, String cdmFileName,
+ String path) {
+
+ try {
+ org.w3c.dom.Element validator=loadValidatorConfig(path);
+
+ String cdmFilePath=getFilePath(cdmFileName);
+
+ // Clear out previous configuration for this choreography
+ clearEntries(validator, cdmFilePath);
+
+ // Create the new entries for the supplied choreography
+ createEntries(validator, cdmFilePath, cdlpack);
+
+ // Save the validator configuration
+ saveValidatorConfig(validator, path);
+
+ } catch(Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ protected org.w3c.dom.Element loadValidatorConfig(String path)
+ throws Exception {
+ org.w3c.dom.Element ret=null;
+
+ // Check if file exists
+ java.io.File f=new java.io.File(path);
+
+ if (f.exists()) {
+ // Transform the text representation to DOM
+ DocumentBuilderFactory fact=DocumentBuilderFactory.newInstance();
+ fact.setNamespaceAware(true);
+
+ DocumentBuilder builder=fact.newDocumentBuilder();
+ org.w3c.dom.Document doc=
+ builder.parse(new java.io.FileInputStream(f));
+
+ if (doc.getDocumentElement() != null &&
+ doc.getDocumentElement().getNodeName().equals(
+ VALIDATOR_ELEMENT)) {
+ ret = doc.getDocumentElement();
+ }
+ } else {
+ org.w3c.dom.Document doc=
+ javax.xml.parsers.DocumentBuilderFactory.
+ newInstance().newDocumentBuilder().newDocument();
+
+ ret = doc.createElement(VALIDATOR_ELEMENT);
+
+ doc.appendChild(ret);
+ }
+
+ return(ret);
+ }
+
+ protected void saveValidatorConfig(org.w3c.dom.Element validator,
+ String cdmFilePath) throws Exception {
+ XMLUtils.saveDocument(validator.getOwnerDocument(),
+ new java.io.FileOutputStream(cdmFilePath), true);
+ }
+
+ protected void clearEntries(org.w3c.dom.Element validator,
+ String cdmFilePath) {
+
+ org.w3c.dom.NodeList nl=validator.getChildNodes();
+ java.util.List<org.w3c.dom.Element> toRemove=
+ new java.util.Vector<org.w3c.dom.Element>();
+
+ for (int i=0; i < nl.getLength(); i++) {
+ if (nl.item(i).getNodeName().equals(SERVICE_ELEMENT) &&
+ nl.item(i) instanceof org.w3c.dom.Element) {
+ org.w3c.dom.Element service=
+ (org.w3c.dom.Element)nl.item(i);
+
+ if (service.getAttribute(CDM_FILE_PATH_ATTR).equals(cdmFilePath)) {
+ toRemove.add(service);
+ }
+ }
+ }
+
+ for (int i=0; i < toRemove.size(); i++) {
+ validator.removeChild(toRemove.get(i));
+ }
+ }
+
+ protected void createEntries(org.w3c.dom.Element validator,
+ String cdmFilePath, org.pi4soa.cdl.Package cdlpack) {
+
+ for (int i=0; i < cdlpack.getTypeDefinitions().getParticipantTypes().size(); i++) {
+ org.pi4soa.cdl.ParticipantType ptype=
+ cdlpack.getTypeDefinitions().getParticipantTypes().get(i);
+
+ org.w3c.dom.Element service=
+ validator.getOwnerDocument().createElement(SERVICE_ELEMENT);
+
+ validator.appendChild(service);
+
+ service.setAttribute(CDM_FILE_PATH_ATTR, cdmFilePath);
+ service.setAttribute("participantType", ptype.getName());
+
+ cdlpack.visit(new InputOutputAnalyser(ptype, service));
+ }
+ }
+
+ protected String getFilePath(String cdmFileName) {
+ return(FILE_PATH_PREFIX+cdmFileName);
+ }
+
+ private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.validator.jbossesb.actions");
+
+ public class InputOutputAnalyser extends DefaultCDLVisitor {
+
+ private static final String JBOSSESB_ANNOTATION = "jbossesb";
+ private static final String JBOSSESB_ELEMENT = "jbossesb";
+ private static final String DESTINATION_ELEMENT = "destination";
+ private static final String NAME_ATTR = "name";
+ private static final String EPR_ATTR = "epr";
+ private static final String INPUT_ELEMENT = "input";
+ private static final String OUTPUT_ELEMENT = "output";
+
+ public InputOutputAnalyser(org.pi4soa.cdl.ParticipantType ptype,
+ org.w3c.dom.Element service) {
+ m_participantType = ptype;
+ m_service = service;
+
+ m_templateProcessor =
+ org.pi4soa.common.annotations.AnnotationsManagerFactory.getAnnotationsManager().getTemplateProcessor(JBOSSESB_ANNOTATION);
+ }
+
+ public void interaction(Interaction interaction) {
+ if (m_participantType.getRoleTypes().contains(interaction.getFromRoleType()) ||
+ (interaction.getFromParticipant() != null &&
+ Collections.disjoint(m_participantType.getRoleTypes(),
+ interaction.getFromParticipant().getRoleTypes()) == false)) {
+
+ for (int i=0; i < interaction.getExchangeDetails().size(); i++) {
+ processExchangeDetails(interaction.getExchangeDetails().get(i), true);
+ }
+ } else if (m_participantType.getRoleTypes().contains(interaction.getToRoleType()) ||
+ (interaction.getToParticipant() != null &&
+ Collections.disjoint(m_participantType.getRoleTypes(),
+ interaction.getToParticipant().getRoleTypes()) == false)) {
+ for (int i=0; i < interaction.getExchangeDetails().size(); i++) {
+ processExchangeDetails(interaction.getExchangeDetails().get(i), false);
+ }
+ }
+ }
+
+ protected void processExchangeDetails(ExchangeDetails details, boolean from) {
+
+ for (int i=0; i < details.getSemanticAnnotations().size(); i++) {
+ SemanticAnnotation sa=details.getSemanticAnnotations().get(i);
+ org.w3c.dom.Element dest=null;
+
+ if (sa.getAnnotation() != null && sa.getName() != null &&
+ sa.getName().equals(JBOSSESB_ANNOTATION)) {
+ try {
+ // Transform the text representation to DOM
+ DocumentBuilderFactory fact=DocumentBuilderFactory.newInstance();
+ fact.setNamespaceAware(true);
+
+ DocumentBuilder builder=fact.newDocumentBuilder();
+ org.w3c.dom.Document doc=
+ builder.parse(new java.io.ByteArrayInputStream(
+ sa.getAnnotation().getBytes()));
+
+ if (doc.getDocumentElement() != null &&
+ doc.getDocumentElement().getNodeName().equals(
+ JBOSSESB_ELEMENT)) {
+ org.w3c.dom.NodeList nl=
+ doc.getDocumentElement().getElementsByTagName(DESTINATION_ELEMENT);
+
+ if (nl.getLength() == 1) {
+ dest = (org.w3c.dom.Element)nl.item(0);
+ } else if (nl.getLength() > 1) {
+ logger.severe("Too many destination elements ("+
+ nl.getLength()+") found");
+ } else {
+ logger.severe("No destinations found");
+ }
+ }
+
+ } catch(Exception e) {
+ logger.log(Level.SEVERE,
+ "Failed to load jbossesb annotation", e);
+ }
+ }
+
+ if (dest != null) {
+ processDestination(details, dest, from);
+ }
+ }
+ }
+
+ protected void processDestination(ExchangeDetails details,
+ org.w3c.dom.Element dest, boolean from) {
+ String elemName=null;
+
+ if (dest != null &&
+ dest.getAttribute("temporary").equalsIgnoreCase("true") == false) {
+ if (from) {
+ if (details.getAction() == ExchangeActionType.REQUEST) {
+ elemName = OUTPUT_ELEMENT;
+ } else {
+ elemName = INPUT_ELEMENT;
+ }
+ } else {
+ if (details.getAction() == ExchangeActionType.REQUEST) {
+ elemName = INPUT_ELEMENT;
+ } else {
+ elemName = OUTPUT_ELEMENT;
+ }
+ }
+
+ // Parameter has been stored in a structured manner
+ // to support use of templates and presentations,
+ // so need to extract the value
+ java.util.List<TemplateParameter> params=
+ m_templateProcessor.getTemplateParameters(dest.getAttribute(NAME_ATTR));
+
+ if (params != null && params.size() > 0) {
+ org.w3c.dom.Element elem=m_service.getOwnerDocument().createElement(elemName);
+ elem.setAttribute(EPR_ATTR, params.get(0).getValue());
+
+ m_service.appendChild(elem);
+ }
+ }
+ }
+
+ private ParticipantType m_participantType=null;
+ private org.w3c.dom.Element m_service=null;
+ private org.pi4soa.common.annotations.TemplateProcessor m_templateProcessor=null;
+ }
+}
15 years, 6 months
Overlord SVN: r413 - cdl/trunk/samples/jbossesb/trailblazer/models.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-22 13:21:14 -0400 (Wed, 22 Oct 2008)
New Revision: 413
Modified:
cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
Log:
Updated trailblazer cdm with annotations related to the eprs being monitored.
Modified: cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2008-10-22 06:40:53 UTC (rev 412)
+++ cdl/trunk/samples/jbossesb/trailblazer/models/TrailBlazer.cdm 2008-10-22 17:21:14 UTC (rev 413)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="Cp1252"?>
+<?xml version="1.0" encoding="UTF-8"?>
<org.pi4soa.cdl:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The choreography description for TrailBlazer" name="TrailBlazer" author="gary" version="0.1" targetNamespace="http://www.pi4soa.org/TrailBlazer">
<typeDefinitions>
<nameSpaces description="Target Namespace for TrailBlazer" prefix="tns" uRI="http://www.pi4soa.org/TrailBlazer"/>
@@ -58,21 +58,33 @@
<variableDefinitions description="Channel to facilitate interaction to Bank" name="BankChannel" type="//@typeDefinitions/(a)channelTypes.0" roleTypes="//@typeDefinitions/(a)roleTypes.0 //@typeDefinitions/(a)roleTypes.2"/>
<variableDefinitions description="Channel to facilitate interaction to Notifier" name="NotifierChannel" type="//@typeDefinitions/(a)channelTypes.2" roleTypes="//@typeDefinitions/(a)roleTypes.2 //@typeDefinitions/(a)roleTypes.3"/>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="QuoteRequest" operation="requestQuote" channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.0">
- <exchangeDetails description="This is the exchange details for the request exchange associated with interaction QuoteRequest" name="QuoteRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.5"/>
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction QuoteRequest" name="QuoteRequestRespondExchange" type="//@typeDefinitions/(a)informationTypes.3" action="Respond"/>
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction QuoteRequest" name="QuoteRequestRequestExchange" type="//@typeDefinitions/(a)informationTypes.5">
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-jmsBankRequestQueue}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-fileBankRequestQueue}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ </exchangeDetails>
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction QuoteRequest" name="QuoteRequestRespondExchange" type="//@typeDefinitions/(a)informationTypes.3" action="Respond">
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-jmsBankResponseQueue}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-fileBankResponseQueue}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="NotifyCustomer" operation="notify" channelVariable="//@choreographies.0/@enclosedChoreographies.0/(a)variableDefinitions.1" relationship="//@typeDefinitions/(a)relationshipTypes.2">
- <exchangeDetails description="This is the exchange details for the request exchange associated with interaction NotifyCustomer" name="NotifyCustomerRequestExchange" type="//@typeDefinitions/(a)informationTypes.3"/>
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction NotifyCustomer" name="NotifyCustomerRequestExchange" type="//@typeDefinitions/(a)informationTypes.3">
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-customerNotifier}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ </exchangeDetails>
</activities>
</enclosedChoreographies>
<variableDefinitions description="Channel to facilitate interaction to CreditAgency" name="CreditAgencyChannel" type="//@typeDefinitions/(a)channelTypes.1" roleTypes="//@typeDefinitions/(a)roleTypes.1 //@typeDefinitions/(a)roleTypes.2"/>
<variableDefinitions description="This is the variable NotifierChannel" name="NotifierChannel" type="//@typeDefinitions/(a)channelTypes.2" roleTypes="//@typeDefinitions/(a)roleTypes.2 //@typeDefinitions/(a)roleTypes.3"/>
<variableDefinitions description="This is the variable creditCheckResult" name="creditCheckResult" type="//@typeDefinitions/(a)informationTypes.1" roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/(a)informationTypes.0"/>
+ <exchangeDetails description="This is the exchange details for the request exchange associated with interaction CreditCheck" name="CreditCheckRequestExchange" type="//@typeDefinitions/(a)informationTypes.0">
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-creditAgencyQueue}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Interaction" name="CreditCheck" operation="checkCredit" channelVariable="//@choreographies.0/(a)variableDefinitions.0" relationship="//@typeDefinitions/(a)relationshipTypes.1">
- <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheck" name="CreditCheckRespondExchange" type="//@typeDefinitions/(a)informationTypes.1" action="Respond" receiveVariable="//@choreographies.0/(a)variableDefinitions.2"/>
+ <exchangeDetails description="This is the exchange details for the respond exchange associated with interaction CreditCheck" name="CreditCheckRespondExchange" type="//@typeDefinitions/(a)informationTypes.1" action="Respond" receiveVariable="//@choreographies.0/(a)variableDefinitions.2">
+ <semanticAnnotations annotation="<jbossesb>
	<destination name="{{Destination;The URI for the ESB destination;string;;jms:queue/esb-tb-creditAgencyQueue_reply}}"
		temporary="{{Temporary;Whether the destination is temporary;boolean;;false}}" />
</jbossesb>
" name="jbossesb"/>
+ </exchangeDetails>
</activities>
<activities xsi:type="org.pi4soa.cdl:Choice">
<activities xsi:type="org.pi4soa.cdl:Conditional" description="Sufficient credit to request quotes" name="ValidCredit" expression="cdl:getVariable('creditCheckResult','','//@score') >= 4">
15 years, 6 months
Overlord SVN: r412 - in cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb: actions and 1 other directory.
by overlord-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2008-10-22 02:40:53 -0400 (Wed, 22 Oct 2008)
New Revision: 412
Modified:
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/EPRWrapper.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/HibernateObject.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Identity.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/IdentityType.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/JoinState.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/ScheduleItem.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Session.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/SessionStatus.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ConversationAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/CreateSessionAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/IfAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/MessageRouterAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ParallelAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/PerformAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ReceiveMessageAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ScheduleStateAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SendMessageAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/Service.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetMessageAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetStateAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SwitchAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhenAction.java
cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhileAction.java
Log:
* [SOA-70] Add javadoc.
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/EPRWrapper.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/EPRWrapper.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/EPRWrapper.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -32,8 +32,8 @@
/**
*
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
- *
*/
@Entity
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/HibernateObject.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/HibernateObject.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/HibernateObject.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -22,6 +22,8 @@
import java.io.Serializable;
/**
+ * Any object that needs to be stored by using Hibernate,
+ * it needs to implement this interface. It is used internally.
*
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Identity.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Identity.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Identity.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -35,6 +35,27 @@
import javax.persistence.Table;
/**
+ * A 'session' object, whether representing the top level (root) session, or a child session,
+ * should be identified by the following information:
+ *
+ * <ol>
+ * <li>
+ * Service description name - this name reflects the participant behaviour within a choreography,
+ * and provides the necessary link to enable conformance checking with the choreography description
+ * </li>
+ * <li>
+ * POJO class name - Each sub session needs to be distinguished, in case it uses common identity objects.
+ * Using the POJO class name in conjunction with the service description name, provides a unique way to reference a sub-session.
+ * So the POJO class name is effectively in place of the 'choreography unit' name.
+ * Combining it with the service description name, also enables the same POJO to be used within the behaviour description for different participants -
+ * i.e. it does not force the user to declare two separate classes, with the same properties, just to distinguish the different participants within the choreography.
+ * </li>
+ * <li>
+ * Set of 'primary' or 'alternate' business identities, detail see {@link IdentityType} - this list will contain identity details extracted from business messages,
+ * to correlate those messages to a particular session (or sub-session).
+ * </li>
+ * </ol>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/IdentityType.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/IdentityType.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/IdentityType.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -20,7 +20,19 @@
package org.jboss.soa.overlord.jbossesb;
/**
+ * According to WS-CDL specificatio, it has four types of identity.
*
+ * <ul>
+ * <li><i>primary</i> - the primary identity field, used to associate a message with the session. </li>
+ * <li><i>alternate</i> - an alternative primary identity. </li>
+ * <li><i>associate</i> - link the message to a session based on an identity previously associated with the session (or parent session).
+ * However this identity will not be associated with the current session,
+ * it is usually only used to link a child session to a parent session. </li>
+ * <li><i>derived</i> - the extracted identity will be placed in reserve for use as the primary identity for a subsequent session.
+ * It is not directly associated with the session in which it is discovered.</li>
+ * </ul>
+ *
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
*
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/JoinState.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/JoinState.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/JoinState.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -28,6 +28,7 @@
import javax.persistence.Table;
/**
+ * It represents the forked JBoss ESB service, which waits for other ESB services to converge.
*
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/ScheduleItem.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/ScheduleItem.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/ScheduleItem.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -28,6 +28,7 @@
import javax.persistence.Table;
/**
+ * An item represent for JBoss ESB service.
*
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Session.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Session.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/Session.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -52,7 +52,35 @@
import org.jboss.soa.esb.message.Message;
/**
+ * A Session represents the encapsulation of the current status of execution of an associated choreography instance,
+ * as well as variables containing business information relevant to the choreography.
*
+ * <p>
+ * A Session represents a single choreography unit within a WS-CDL package.
+ * This means that a single choreography description (or package) will usually have multiple sessions,
+ * one associated with the root choreography unit, and zero or more associated with other non-root choreography units,
+ * that are directly or indirectly performed by the root choreography unit.
+ * </p>
+
+ * <p>
+ * This Session class should not be visible outside the ESB conversational actions.
+ * There should be no reason for user custom actions to require access to this information.
+ * The only information they should be able to access is the business state information associated with the session.
+ * </p>
+ *
+ * <p>
+ * Sessions can be organized in a hierarchy, with the top session being associated with a root choreography unit,
+ * and the child sessions being the performed sub-choreographies.
+ * </p>
+ *
+ * <p>
+ * The session maintains a schedule of service descriptors to be processed (represented by the category and name of the service).
+ * This schedule indicates which service descriptors are expected to be invoked on behalf of the session.
+ * The execution of a service descriptor's action pipeline on a session will result in the service descriptor being removed from the schedule,
+ * but may result in other service descriptors being added to the schedule, depending upon the nature of the conversation actions within the pipeline.
+ * </p>
+ *
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/SessionStatus.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/SessionStatus.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/SessionStatus.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -23,7 +23,6 @@
/**
*
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
- *
*/
public enum SessionStatus {
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ConversationAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ConversationAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ConversationAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -46,19 +46,6 @@
/**
* Base activity, all the ESB conversation aware actions extend from this one.
*
- * <pre>
- * The procedure of processing a message is as following:
- * 1. Get current session from the database.
- * Include injecting context, such as injecting parent session business object if it exists
- * 2. Unschedule current service, if it is first conversation action.
- * 3. Handle Message. (This will be override by subclasses)
- * 4. Save session object back to database.
- * Update the parent session if it is necessary.
- * 5. If it is the last conversation action in current service.
- * And if it has no schedule items to invoke. Mark session status to 'Completed'
- * 5.1 If it is sub-session, then invoke sub-session exit service.
- * 6. Deliver message to services at last if it needs to.
- * </pre>
*
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
@@ -95,19 +82,20 @@
/**
- * <pre>
* The procedure of processing a message is as following:
- * 1. Get current session from the database.
+ * <ul>
+ * <li> Get current session from the database.
* Include injecting context, such as injecting parent session business object if it exists
- * 2. Unschedule current service, if it is first conversation action.
- * 3. Handle Message. (This will be override by subclasses)
- * 4. Save session object back to database.
- * Update the parent session if it is necessary.
- * 5. If it is the last conversation action in current service.
- * And if it has no schedule items to invoke. Mark session status to 'Completed'
- * 5.1 If it is sub-session, then invoke sub-session exit service.
- * 6. Deliver message to services at last if it needs to.
- * </pre>
+ * </li>
+ * <li> Unschedule current service, if it is first conversation action.</li>
+ * <li> Handle Message. (This will be override by subclasses) </li>
+ * <li> Save session object back to database. </li>
+ * <li> Update the parent session if it is necessary.</li>
+ * <li> If it is the last conversation action in current service.</li>
+ * And if it has no schedule items to invoke. Set session status as 'Completed'
+ * ** If it is sub-session, then invoke sub-session exit service.
+ * <li> Deliver message to services at last if it needs to.</li>
+ * </ul>
*
* @param message
* @return
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/CreateSessionAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/CreateSessionAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/CreateSessionAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -26,8 +26,31 @@
import org.jboss.soa.overlord.jbossesb.SessionManager;
/**
- * This action creates a new session.
*
+ * This action indicates the starting state associated with a session.
+ *
+ * <p>
+ * This can either be associated with a top level 'root' choreography,
+ * or a sub-choreography that is performed by an outer choreography.
+ * </p>
+ *
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ * <action class="org.jboss.soa.overlord.jbossesb.actions.CreateSessionAction"
+ * process="process" name="s1-1">
+ * <property name="session" value="org.jboss.soa.overlord.samples.jbossesb.loan.broker.BrokerMain" />
+ * </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li>
+ * <i>session </i> - stands for its associated business information class.
+ * </li>
+ * </ul>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/IfAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/IfAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/IfAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -28,6 +28,26 @@
* This action represents a choice between a set of specified paths
* based on the message that has occurred.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.IfAction" name="c3" process="process">
+ <property name="paths">
+ <if expression="isCreditValid()" immediate="true" service-category="PurchaseGoods.CreditAgency" service-name="CreditAgency.decision1"/>
+ <else immediate="true" service-category="PurchaseGoods.CreditAgency" service-name="CreditAgency.decision2"/>
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>expression</i> - The decision method, the method result should be Boolean type, and it doesn't have any input parameters.</li>
+ * <li><i>serivce-category</i> - mapped to JBoss ESB service-category</li>
+ * <li><i>service-name</i> - mapped to JBossESB service-name<li>
+ * <li><i>immediate</i> - whether send message to the specified service-category and service-name immediately.</li>
+ * </ul>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/MessageRouterAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/MessageRouterAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/MessageRouterAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -27,11 +27,42 @@
import org.jboss.soa.esb.listeners.message.MessageDeliverException;
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.overlord.jbossesb.Identity;
+import org.jboss.soa.overlord.jbossesb.IdentityType;
import org.jboss.soa.overlord.jbossesb.ScheduleItem;
/**
* The action is used to perform routing of the inbound requests.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.MessageRouterAction"
+ process="process" name="s0-1">
+ <property name="paths">
+ <route service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main"
+ initiate="true">
+ <message type="enquiry">
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </message>
+ </route>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>serivceCategory</i> and <i>serviceName</i> - together represent a ESB service.</li>
+ * <li><i>initiate</i> - An optional 'initiate' boolean attribute.
+ * If the attribute is specified, and its value is 'true', then the route can only be selected if the service instance relevant for the inbound message does not yet exist,
+ * and this message will result in a {@link CreateSessionAction} being invoked to create the service instance.
+ * If the attribute value is 'false', or not specified, then a service instance must already exist that is capable of handling the inbound message.</li>
+ * <li><i>message.type</i> - Define the Message Type for routing.</li>
+ * <li><i>identity</i> - Detail refer to {@link IdentityType}</li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
public class MessageRouterAction extends ConversationAction {
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ParallelAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ParallelAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ParallelAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -24,8 +24,30 @@
import org.jboss.soa.esb.message.Message;
/**
- * This action represents a parallel construct.
+ * The ParallelAction is used to spawn two or more paths.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ParallelAction" name="b5" process="process">
+ <property name="paths">
+ <path immediate="true" service-category="PurchaseGoods.Store" service-name="StoreBranch1"/>
+ <path immediate="true" service-category="PurchaseGoods.Store" service-name="StoreBranch2"/>
+ <join service-category="PurchaseGoods.Store" service-name="ReturnBuyerResponse"/>
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>serivceCategory</i> and <i>serviceName</i> - together represent a ESB service.</li>
+ * <li><i>immediate</i> - Whether deliver the message to target service immediately or not.</li>
+ * <li><i>path</i> - This is used to define the service that is need to be invoked.</li>
+ * <li><i>join</i> - This is the converged point for spawned services</li>
+ * </ul>
+ *
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/PerformAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/PerformAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/PerformAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -29,7 +29,39 @@
import org.mvel.MVEL;
/**
+ * PerformAction is used to invoke a child session.
+ * It doesn't create the sub-session, it just populated all needed information into Message Object,
+ * and then directed to the {@link CreateSessionAction} to create sub-session.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.PerformAction"
+ process="process" name="s3-1">
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="RequestForQuote.main" />
+ <property name="returnServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="returnServiceName" value="ESBBrokerProcess.main.9" />
+ <property name="parentReference" value="quoteManager"/>
+ <property name="bindDetails" >
+ <bind from-expression="getCurrentSupplier()"
+ to-variable="supplier" />
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>serivceCategory</i> - Mapped to JBoss ESB service-category</li>
+ * <li><i>serviceName</i> - Mapped to JBossESB service-name<li>
+ * <li><i>returnServiceCategory</i> - The service-category of service, when sub-session has completed (it is optional).</li>
+ * <li><i>returnServiceName</i> - The service-name of service, when sub-session has completed. (it is optional)</li>
+ * <li><i>parentReference</i> - The property to set the parent session's business state object for sub-sesion's business state object.</li>
+ * <li><i>bind.from-expression</i> - the property or method of parent session's business state object.</li>
+ * <li><i>bind.to-variable</i> - the propert of sub-session's business state object</li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ReceiveMessageAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ReceiveMessageAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ReceiveMessageAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -26,11 +26,31 @@
import org.jboss.soa.overlord.jbossesb.Identity;
/**
- * <p>
- * The ReceiveMessageAction is used to explicitly define the message type that should be received.
- * If an RPC style has been used, then the optional operation name can also be defined.
- * </p>
+ * The ReceiveMessageAction is used to explicitly define the message type that should be received and a set of identities.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ReceiveMessageAction" name="c2" process="process">
+ <property name="messageType" value="CreditCheckRequest"/>
+ <property name="clientEPR" value="broker"/>
+ <property name="identities">
+ <identity type="primary">
+ <token locator="//@id" name="id"/>
+ </identity>
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>messageType </i> - Define the message type that should be received.</li>
+ * <li><i>clientEPR</i> - Define an EPR label that used to map to the 'reply-to' address.</li>
+ * <li><i>identities</i> - The CDL's identity, see {@link Identity}</li>
+ * </ul>
+ *
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/RetrieveSessionAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -27,8 +27,28 @@
import org.jboss.soa.overlord.jbossesb.Identity;
/**
- * This action gets an existed session.
+ * It retrieves existing sessions instead of creating new sessions.
*
+ * <p>
+ * Its purpose is to identify an action pipeline as conversation based,
+ * and ensure that a suitable session exists.
+ * </p>
+ *
+ * The configuration would be like:
+ *
+ * <pre>
+ * <action class="org.jboss.soa.overlord.jbossesb.actions.RetrieveSessionAction"
+ * process="process" name="s11-1">
+ * <property name="session" value="org.jboss.soa.overlord.samples.jbossesb.loan.broker.CompleteTransactionMain" />
+ * <property name="serviceDescriptionName" value="{http://www.jboss.org/overlord/loanBroker}CompleteTransaction" />
+ * <property name="identities" >
+ * <identity type="primary" >
+ * <token name="id" locator="//@id" />
+ * </identity>
+ * </property>
+ * </action>
+ * </pre>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ScheduleStateAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ScheduleStateAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/ScheduleStateAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -24,8 +24,27 @@
import org.jboss.soa.esb.message.Message;
/**
- * Schedule state activity.
+ * ScheduleStateAction enables an service descriptor's category and name to be added to the schedule for the session.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.ScheduleStateAction"
+ process="process" name="s1-3">
+ <property name="serviceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="serviceName" value="ESBBrokerProcess.main.1" />
+ <property name="immediate" value="true" />
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>serviceCategory</i> - Mapped to JBossESB service-category.</li>
+ * <li><i>serviceName</i> - Mapped to JBossESB service-name.</li>
+ * <li><i>immediate</i> - Define whether send the message the to target service immediately or not.</li>
+ * </ul>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SendMessageAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SendMessageAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SendMessageAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -37,8 +37,74 @@
/**
- * Send message activity.
+ * Deliver message to the target service.
*
+ * <p>
+ * This action enables a message, being processed by the action pipeline, to be sent to a nominated destination.
+ * The destination for the message being sent can be identified in two ways:
+ * </p>
+ *
+ * <ul>
+ * <li>
+ * <i>Explicitly</i><br/>
+ * A service category and name can be specified, to indicate the destination of the message to be sent.
+ * When this approach is used, it will be possible to optionally specify a 'reply to' service category and name,
+ * to which any subsequent response can be sent. In this case, the 'reply to' service category and name will be placed on the schedule for the session.
+ * </li>
+ * <li>
+ * <i>Implicitly</i>(Based on JBossESB EPR)<br/>
+ * If a previously received message had a 'reply to EPR', which was then associated with a label,
+ * then the message can be sent back to the originator of that previous message by specifying the label associated with the EPR.
+ * </li>
+ * </ul>
+ *
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
+ process="process" name="s4-3">
+ <property name="messageType" value="quoteList" />
+ <property name="clientEPR" value="buyer" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ * }
+ * </pre>
+ * OR:
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SendMessageAction"
+ process="process" name="s8-4">
+ <property name="messageType" value="requestForQuote" />
+ <property name="serviceNameExpression" value="supplier.serviceName" />
+ <property name="serviceCategoryExpression" value="supplier.serviceCategory" />
+ <property name="responseServiceName" value="RequestForQuote.main.1" />
+ <property name="responseServiceCategory" value="ESBBroker.BrokerParticipant" />
+ <property name="identities" >
+ <identity type="primary" >
+ <token name="id" locator="//@id" />
+ </identity>
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>messageType </i> - Define the message type that is prepared to sent to.</li>
+ * <li><i>clientEPR</i> - This is JBossESB EPR Label, represents a JBossESB EPR that can be used to send a message to.</li>
+ * <li><i>serviceName</i> - Mapped to JBossESB service-name.</li>
+ * <li><i>serviceCategory</i> - Mapped to JBossESB service-category.</li>
+ * <li><i>servceNameExpression</i> - The EL expression against session's associated business state object to get the service-name value.</li>
+ * <li><i>serviceCategoryExpression</i> - The EL expression against session's associated business state object to get the service-category value.</li>
+ * <li><i>responseServiceName</i> - The service-name of the responded message.</li>
+ * <li><i>responseServiceCategory</i> - The service-category of the responded message.</li>
+ * </ul>
+ *
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/Service.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/Service.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/Service.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -21,7 +21,6 @@
/**
*
- *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetMessageAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetMessageAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetMessageAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -25,8 +25,25 @@
import org.mvel.MVEL;
/**
- * Set object into the 'ESB Message' Object.
+ * SetMessageAction enables the information contained within the ESB Message object,
+ * currently being passed through the action pipeline, to be updated based on information from the business state pojo.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SetMessageAction" name="s8-2">
+ <property name="headerProperty" value="serviceDescriptionName" />
+ <property name="stateExpression" value="supplier.serviceDescription" />
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>headerProperty</i> - The key in ESB Message's header.</li>
+ * <li><i>stateExpression</i> - The property or method of session associated business state class.</li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetStateAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetStateAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SetStateAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -27,7 +27,35 @@
import org.w3c.dom.Element;
/**
+ * SetStateAction is intended to enable business state, associated with the POJO for the session,
+ * to be set/updated based on information derived from either the business state or the current message object.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SetStateAction" name="s7-2">
+ <property name="variable" value="selectedQuoteValue" />
+ <property name="messageExpression" value="//@quoteValue" />
+ </action>
+ * }
+ * </pre>
+ * OR:
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SetStateAction" name="s17-2">
+ <property name="variable" value="supplierIndex" />
+ <property name="stateExpression" value="nextSupplier()" />
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>variable</i> - The property in the session associated business state class.</li>
+ * <li><i>messageExpression</i> - The EL expression against ESB message Object.<li>
+ * <li><i>stateExpression</i> - The property or method of session associated business state class.</li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
public class SetStateAction extends ConversationAction {
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SwitchAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SwitchAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/SwitchAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -24,9 +24,34 @@
import org.jboss.soa.esb.message.Message;
/**
- * This action represents a choice between a set of specified paths
- * based on the message that has occurred.
+ * SwitchAction provides a means to select the relevant path based on the type of a message being processed by the action.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.SwitchAction"
+ process="process" name="s11-2">
+ <property name="paths">
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="CompleteTransaction.main.2" >
+ <message type="CreditCheckOk" />
+ </case>
+ <case service-category="ESBBroker.BrokerParticipant"
+ service-name="CompleteTransaction.main.4" >
+ <message type="CreditCheckInvalid" />
+ </case>
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>serivce-category</i> - mapped to JBoss ESB service-category.</li>
+ * <li><i>service-name</i> - mapped to JBossESB service-name.<li>
+ * <li><i>type</i> - The message type that should be received.</li>
+ * </ul>
+ *
* @author <a href="mailto:gary.brown@hattricksoftware.com">Gary Brown</a>
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhenAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhenAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhenAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -25,7 +25,29 @@
import org.mvel.MVEL;
/**
+ * WhenAction will enable one or more specified states to be triggered when an associated expression evaluates to true.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.WhenAction"
+ process="process" name="s4-1">
+ <property name="paths">
+ <when expression="receivedAllQuotes()"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.4" />
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>expression</i> - The decision method, the method result should be Boolean type, and it doesn't have any input parameters.</li>
+ * <li><i>serivce-category</i> - mapped to JBoss ESB service-category.</li>
+ * <li><i>service-name</i> - mapped to JBossESB service-name.<li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*
*/
Modified: cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhileAction.java
===================================================================
--- cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhileAction.java 2008-10-21 22:18:32 UTC (rev 411)
+++ cdl/trunk/runtime/jbossesb/src/main/java/org/jboss/soa/overlord/jbossesb/actions/WhileAction.java 2008-10-22 06:40:53 UTC (rev 412)
@@ -25,7 +25,34 @@
import org.mvel.MVEL;
/**
+ * WhileAction will enable provide the traditional 'while' loop construct.
*
+ * <h4>Usage:</h4>
+ * <pre>
+ * {@literal
+ <action class="org.jboss.soa.overlord.jbossesb.actions.WhileAction"
+ process="process" name="s2-1">
+ <property name="paths">
+ <while expression="hasSuppliers()"
+ service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.2"
+ immediate="true" />
+ <exit service-category="ESBBroker.BrokerParticipant"
+ service-name="ESBBrokerProcess.main.3"
+ immediate="true" />
+ </property>
+ </action>
+ * }
+ * </pre>
+ *
+ * <h4>Description of configuration properties:</h4>
+ * <ul>
+ * <li><i>expression</i> - The decision method, the method result should be Boolean type, and it doesn't have any input parameters.</li>
+ * <li><i>serivce-category</i> - mapped to JBoss ESB service-category.</li>
+ * <li><i>service-name</i> - mapped to JBossESB service-name.<li>
+ * <li><i>immediate</i> - whether send message to the specified service-category and service-name immediately.</li>
+ * </ul>
+ *
* @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
*/
public class WhileAction extends ConversationAction {
15 years, 6 months
Overlord SVN: r411 - in cdl/trunk/distribution/eclipse: features and 1 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-21 18:18:32 -0400 (Tue, 21 Oct 2008)
New Revision: 411
Added:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810212315.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810212315.jar
Removed:
cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810211526.jar
cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810211526.jar
cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810211526.jar
Modified:
cdl/trunk/distribution/eclipse/site.xml
Log:
Refactored to move admin related classes out of the org.scribble.model package into a subpackage.
Deleted: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.conversation.feature_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.experimental.feature_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.feature_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/features/org.scribble.protocol.feature_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb_1.0.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.jboss.tools.overlord.cdl.validator.jbossesb_1.0.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conformance_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.comparator_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.export.text_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.model_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.parser_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.projector_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.conversation.validation_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.core_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.designer_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.comparator_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.java.parser_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.lang.model_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.osgi_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.comparator_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.export.text_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.model_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.parser_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.projector_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810211526.jar
===================================================================
(Binary files differ)
Added: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810212315.jar
===================================================================
(Binary files differ)
Property changes on: cdl/trunk/distribution/eclipse/plugins/org.scribble.protocol.validation_0.1.0.200810212315.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: cdl/trunk/distribution/eclipse/site.xml
===================================================================
--- cdl/trunk/distribution/eclipse/site.xml 2008-10-21 21:58:16 UTC (rev 410)
+++ cdl/trunk/distribution/eclipse/site.xml 2008-10-21 22:18:32 UTC (rev 411)
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810211526.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200810211526">
+ <feature url="features/org.jboss.tools.overlord.cdl.jbossesb.feature_1.0.0.200810212315.jar" id="org.jboss.tools.overlord.cdl.jbossesb.feature" version="1.0.0.200810212315">
<category name="JBossESB"/>
</feature>
- <feature url="features/org.scribble.conversation.feature_0.1.0.200810211526.jar" id="org.scribble.conversation.feature" version="0.1.0.200810211526">
+ <feature url="features/org.scribble.conversation.feature_0.1.0.200810212315.jar" id="org.scribble.conversation.feature" version="0.1.0.200810212315">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.experimental.feature_0.1.0.200810211526.jar" id="org.scribble.experimental.feature" version="0.1.0.200810211526">
+ <feature url="features/org.scribble.experimental.feature_0.1.0.200810212315.jar" id="org.scribble.experimental.feature" version="0.1.0.200810212315">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.feature_0.1.0.200810211526.jar" id="org.scribble.feature" version="0.1.0.200810211526">
+ <feature url="features/org.scribble.feature_0.1.0.200810212315.jar" id="org.scribble.feature" version="0.1.0.200810212315">
<category name="Common"/>
</feature>
- <feature url="features/org.scribble.protocol.feature_0.1.0.200810211526.jar" id="org.scribble.protocol.feature" version="0.1.0.200810211526">
+ <feature url="features/org.scribble.protocol.feature_0.1.0.200810212315.jar" id="org.scribble.protocol.feature" version="0.1.0.200810212315">
<category name="Common"/>
</feature>
<category-def name="JBossESB" label="JBossESB">
15 years, 6 months
Overlord SVN: r410 - in cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src: java/org/jboss/tools/overlord/cdl/runtime/jbossesb/editor and 7 other directories.
by overlord-commits@lists.jboss.org
Author: objectiser
Date: 2008-10-21 17:58:16 -0400 (Tue, 21 Oct 2008)
New Revision: 410
Modified:
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/dialogs/GenerateDialog.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/editor/JBossESBConfigEditorManager.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/generator/Generator.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBLanguageModel.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBService.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBLanguageModel.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBService.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/AbstractESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/CreateSessionAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/IfAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/MessageRouterAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ParallelAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/PerformAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/RetrieveSessionAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ScheduleStateAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SendMessageAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetMessageAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetStateAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SwitchAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/UnsupportedAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhenAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhileAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/util/ClasspathUtil.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/parser/JBossESBParser.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/validation/ESBLanguageModelValidationRule.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBAction.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBLanguageModel.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBService.java
cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestModelListener.java
Log:
Refactored to move admin related classes out of the org.scribble.model package into a subpackage.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/dialogs/GenerateDialog.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/dialogs/GenerateDialog.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/dialogs/GenerateDialog.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -29,6 +29,8 @@
import org.scribble.conversation.model.ConversationModel;
import org.scribble.extensions.RegistryFactory;
import org.scribble.model.*;
+import org.scribble.model.admin.DefaultModelListener;
+import org.scribble.model.admin.ModelRepository;
/**
* This class provides the dialog for generating JBossESB
@@ -60,7 +62,7 @@
*/
protected void initialize(IFile res) {
ModelReference ref=
- org.scribble.osgi.model.OSGIModelRepository.createReference(res);
+ org.scribble.osgi.model.admin.OSGIModelRepository.createReference(res);
if (ref != null) {
ModelRepository mrep=(ModelRepository)
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/editor/JBossESBConfigEditorManager.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/editor/JBossESBConfigEditorManager.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/editor/JBossESBConfigEditorManager.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -45,10 +45,10 @@
java.util.Map<String,Object> props) {
String uri=null;
org.eclipse.core.resources.IFile file=
- org.scribble.osgi.model.OSGIModelRepository.getFile(mref);
+ org.scribble.osgi.model.admin.OSGIModelRepository.getFile(mref);
if (file == null || file.exists() == false) {
- file = org.scribble.osgi.model.OSGIModelRepository.getGlobalFile(mref);
+ file = org.scribble.osgi.model.admin.OSGIModelRepository.getGlobalFile(mref);
}
if (file != null && file.exists()) {
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/generator/Generator.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/generator/Generator.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/generator/Generator.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -31,6 +31,8 @@
import org.scribble.conversation.model.ConversationModel;
import org.scribble.extensions.RegistryFactory;
import org.scribble.model.*;
+import org.scribble.model.admin.DefaultModelListener;
+import org.scribble.model.admin.ModelRepository;
import org.scribble.model.change.ModelGenerator;
import org.scribble.conversation.model.*;
import org.w3c.dom.Node;
@@ -75,7 +77,7 @@
// Initialize the model
ModelReference ref=
- org.scribble.osgi.model.OSGIModelRepository.createReference(res);
+ org.scribble.osgi.model.admin.OSGIModelRepository.createReference(res);
if (ref != null) {
ModelRepository mrep=(ModelRepository)
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBLanguageModel.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBLanguageModel.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBLanguageModel.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -22,6 +22,9 @@
import org.scribble.conversation.model.*;
import org.scribble.extensions.RegistryFactory;
import org.scribble.model.*;
+import org.scribble.model.admin.DependencyType;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.model.resolutions.*;
/**
@@ -130,10 +133,10 @@
org.w3c.dom.NodeList services=
m_esbConfig.getElementsByTagName(SERVICES_ELEMENT);
- org.scribble.model.DependencyManager dm=
- (org.scribble.model.DependencyManager)
+ org.scribble.model.admin.DependencyManager dm=
+ (org.scribble.model.admin.DependencyManager)
org.scribble.extensions.RegistryFactory.getRegistry().getExtension(
- org.scribble.model.DependencyManager.class, null);
+ org.scribble.model.admin.DependencyManager.class, null);
ModelName mname=new ModelName();
mname.setName(m_source.getLocalpart());
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBService.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBService.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/DefaultESBService.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -21,6 +21,9 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.ESBModelUtil;
import org.scribble.model.*;
+import org.scribble.model.admin.DependencyType;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
@@ -672,10 +675,10 @@
ret.getImplements().add(iref);
//ret.getConformsTo().add(iref);
- org.scribble.model.DependencyManager dm=
- (org.scribble.model.DependencyManager)
+ org.scribble.model.admin.DependencyManager dm=
+ (org.scribble.model.admin.DependencyManager)
org.scribble.extensions.RegistryFactory.getRegistry().getExtension(
- org.scribble.model.DependencyManager.class, null);
+ org.scribble.model.admin.DependencyManager.class, null);
if (dm != null) {
dm.recordDependency(getModel().getModelReference(),
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -18,6 +18,7 @@
package org.jboss.tools.overlord.cdl.runtime.jbossesb.model;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
/**
* This interface represents the generic ESB action class.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBLanguageModel.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBLanguageModel.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBLanguageModel.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -18,6 +18,7 @@
package org.jboss.tools.overlord.cdl.runtime.jbossesb.model;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
/**
* This class represents an ESB model.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBService.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBService.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/ESBService.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,7 @@
import org.scribble.conversation.model.Conversation;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
/**
* This interface represents an ESB service.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/AbstractESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/AbstractESBAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/AbstractESBAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -20,6 +20,8 @@
import java.util.logging.Logger;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.ESBModelUtil;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.ProblemDefinitions;
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/CreateSessionAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/CreateSessionAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/CreateSessionAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -22,6 +22,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ESBActionFactory;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ESBService;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'CreateSessionAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/IfAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/IfAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/IfAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/MessageRouterAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/MessageRouterAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/MessageRouterAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -24,6 +24,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.InteractionUtil;
import org.scribble.conversation.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'MessageRouterAction'. Although
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ParallelAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ParallelAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ParallelAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/PerformAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/PerformAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/PerformAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -20,6 +20,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.PropertyUtil;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/RetrieveSessionAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/RetrieveSessionAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/RetrieveSessionAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'RetrieveSessionAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ScheduleStateAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ScheduleStateAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/ScheduleStateAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'ScheduleStateAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SendMessageAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SendMessageAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SendMessageAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -20,6 +20,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.conversation.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'SendMessageAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetMessageAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetMessageAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetMessageAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,7 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'SetMessageAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetStateAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetStateAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SetStateAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -22,6 +22,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.PropertyUtil;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
/**
* The model component for the 'SetStateAction'.
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SwitchAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SwitchAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/SwitchAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -20,6 +20,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util.InteractionUtil;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/UnsupportedAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/UnsupportedAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/UnsupportedAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,7 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
/**
* This class represents an unsupported (or custom) action within
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhenAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhenAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhenAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhileAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhileAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/actions/WhileAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -19,6 +19,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelIssue;
+import org.scribble.model.admin.ModelListener;
import org.scribble.conversation.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/util/ClasspathUtil.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/util/ClasspathUtil.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/util/ClasspathUtil.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -18,7 +18,7 @@
package org.jboss.tools.overlord.cdl.runtime.jbossesb.model.util;
import org.scribble.model.*;
-import org.scribble.osgi.model.OSGIModelRepository;
+import org.scribble.osgi.model.admin.OSGIModelRepository;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/parser/JBossESBParser.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/parser/JBossESBParser.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/parser/JBossESBParser.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -25,6 +25,7 @@
import javax.xml.parsers.DocumentBuilderFactory;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
import org.scribble.extensions.*;
import org.scribble.parser.Parser;
@@ -52,10 +53,10 @@
ModelListener l) {
DefaultESBLanguageModel ret=null;
- org.scribble.model.DependencyManager dm=
- (org.scribble.model.DependencyManager)
+ org.scribble.model.admin.DependencyManager dm=
+ (org.scribble.model.admin.DependencyManager)
org.scribble.extensions.RegistryFactory.getRegistry().getExtension(
- org.scribble.model.DependencyManager.class, null);
+ org.scribble.model.admin.DependencyManager.class, null);
try {
// Transform the text representation to DOM
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/validation/ESBLanguageModelValidationRule.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/validation/ESBLanguageModelValidationRule.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/java/org/jboss/tools/overlord/cdl/runtime/jbossesb/validation/ESBLanguageModelValidationRule.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -20,6 +20,7 @@
import org.scribble.validation.*;
import org.scribble.extensions.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.*;
/**
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBAction.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBAction.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBAction.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -22,7 +22,7 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ConversionContext;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ESBAction;
import org.scribble.model.Activity;
-import org.scribble.model.ModelListener;
+import org.scribble.model.admin.ModelListener;
import org.w3c.dom.Element;
public class TestESBAction implements ESBAction {
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBLanguageModel.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBLanguageModel.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBLanguageModel.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -22,8 +22,8 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.DefaultESBLanguageModel;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.DefaultESBService;
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ESBService;
-import org.scribble.model.ModelListener;
import org.scribble.model.ModelReference;
+import org.scribble.model.admin.ModelListener;
import org.w3c.dom.Element;
public class TestESBLanguageModel extends org.scribble.lang.model.LanguageModel
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBService.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBService.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestESBService.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -24,6 +24,7 @@
import org.jboss.tools.overlord.cdl.runtime.jbossesb.model.ESBLanguageModel;
import org.scribble.conversation.model.*;
import org.scribble.model.*;
+import org.scribble.model.admin.ModelListener;
import org.w3c.dom.Element;
public class TestESBService extends ModelObject
Modified: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestModelListener.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestModelListener.java 2008-10-21 14:30:49 UTC (rev 409)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.runtime.jbossesb/src/test/org/jboss/tools/overlord/cdl/runtime/jbossesb/model/TestModelListener.java 2008-10-21 21:58:16 UTC (rev 410)
@@ -17,10 +17,10 @@
*/
package org.jboss.tools.overlord.cdl.runtime.jbossesb.model;
-import org.scribble.model.ModelIssue;
import org.scribble.model.ModelObject;
+import org.scribble.model.admin.ModelIssue;
-public class TestModelListener implements org.scribble.model.ModelListener {
+public class TestModelListener implements org.scribble.model.admin.ModelListener {
public void error(ModelIssue issue) {
reported(issue.getMessage());
15 years, 6 months