Author: scabanovich
Date: 2008-02-18 06:01:29 -0500 (Mon, 18 Feb 2008)
New Revision: 6370
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/.classpath
trunk/esb/plugins/org.jboss.tools.esb.core/.cvsignore
trunk/esb/plugins/org.jboss.tools.esb.core/.options.template
trunk/esb/plugins/org.jboss.tools.esb.core/.project
trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/
trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.core/about.html
trunk/esb/plugins/org.jboss.tools.esb.core/build.properties
trunk/esb/plugins/org.jboss.tools.esb.core/images/
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action_list.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/bus.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/config.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/esb_file.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/filter.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/listener.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/property.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/provider.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/schedule.gif
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/service.gif
trunk/esb/plugins/org.jboss.tools.esb.core/plugin.properties
trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.core/resources/
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
trunk/esb/plugins/org.jboss.tools.esb.core/schemas/
trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.1.xsd
trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.xsd
trunk/esb/plugins/org.jboss.tools.esb.core/src/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/messages.properties
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBFileLoader.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBLoaderUtil.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBOrderedChildren.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddProviderSupport.java
Log:
JBIDE-1670
Added: trunk/esb/plugins/org.jboss.tools.esb.core/.classpath
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/.classpath (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/.classpath 2008-02-18 11:01:29 UTC (rev
6370)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/"/>
+ <classpathentry kind="src" path="resources/"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/esb/plugins/org.jboss.tools.esb.core/.cvsignore
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/.cvsignore (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/.cvsignore 2008-02-18 11:01:29 UTC (rev
6370)
@@ -0,0 +1,4 @@
+bin
+meta
+yguard.log
+.options
Added: trunk/esb/plugins/org.jboss.tools.esb.core/.options.template
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/.options.template
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/.options.template 2008-02-18 11:01:29 UTC
(rev 6370)
@@ -0,0 +1 @@
+org.jboss.tools.seam.xml/debug=true
Added: trunk/esb/plugins/org.jboss.tools.esb.core/.project
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/.project (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/.project 2008-02-18 11:01:29 UTC (rev
6370)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.esb.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF 2008-02-18 11:01:29
UTC (rev 6370)
@@ -0,0 +1,31 @@
+Manifest-Version: 1.0
+Eclipse-LazyStart: true
+Bundle-Name: %pluginName
+Bundle-ClassPath: esb.jar
+Bundle-Activator: org.jboss.tools.esb.core.ESBCorePlugin
+Bundle-ManifestVersion: 2
+Bundle-Vendor: %providerName
+Bundle-SymbolicName: org.jboss.tools.esb.core;singleton:=true
+Bundle-Localization: plugin
+Provide-Package: org.jboss.tools.esb.core,
+ org.jboss.tools.esb.core.model,
+ org.jboss.tools.esb.core.model.handlers
+Require-Bundle: org.jboss.tools.jst.web;visibility:=reexport,
+ org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.ui,
+ org.eclipse.ui,
+ org.eclipse.jface,
+ org.eclipse.wst.sse.core,
+ org.eclipse.ltk.core.refactoring,
+ org.eclipse.ltk.ui.refactoring,
+ org.eclipse.wst.xml.core,
+ org.eclipse.core.resources,
+ org.eclipse.core.runtime,
+ org.eclipse.wst.web
+Bundle-Version: 2.0.0
+
Added: trunk/esb/plugins/org.jboss.tools.esb.core/about.html
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/about.html (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/about.html 2008-02-18 11:01:29 UTC (rev
6370)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this
plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A
href="http://www.eclipse.org/org/documents/epl-v10.php">http...;.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A
href="http://www.jboss.org/tools">http://www.jboss.org/tools...
+
+</BODY>
+</HTML>
\ No newline at end of file
Added: trunk/esb/plugins/org.jboss.tools.esb.core/build.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/build.properties
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/build.properties 2008-02-18 11:01:29 UTC
(rev 6370)
@@ -0,0 +1,19 @@
+source.esb.jar = src/,\
+ resources/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ plugin.properties,\
+ about.html,\
+ esb.jar,\
+ images/,\
+ schemas/
+jars.compile.order = esb.jar
+src.includes = src/,\
+ images/,\
+ schemas/,\
+ resources/,\
+ plugin.xml,\
+ plugin.properties,\
+ build.properties,\
+ about.html,\
+ META-INF/
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action_list.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/action_list.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/bus.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/bus.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/config.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/config.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/esb_file.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/esb_file.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/filter.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/filter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/listener.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/listener.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/property.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/property.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/provider.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/provider.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/schedule.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/schedule.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/service.gif
===================================================================
(Binary files differ)
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/images/esb/service.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/esb/plugins/org.jboss.tools.esb.core/plugin.properties
===================================================================
Added: trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml 2008-02-18 11:01:29 UTC (rev
6370)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+
+ <extension point="org.jboss.tools.common.model.meta">
+ <meta path="meta/esb.meta"/>
+ </extension>
+
+ <extension point="org.jboss.tools.common.model.keys">
+ <keys path="help/keys-esb.properties">
+ </keys>
+ </extension>
+
+ <extension
+ point="org.eclipse.wst.xml.core.catalogContributions">
+ <catalogContribution id="default">
+ </catalogContribution>
+ </extension>
+
+ <extension point="org.jboss.tools.common.model.classes">
+ <xclass id="org.jboss.tools.esb.core.model.ESBFileLoader"
+ class="org.jboss.tools.esb.core.model.ESBFileLoader"/>
+ <xclass id="org.jboss.tools.esb.core.model.ESBEntityRecognizer"
+ class="org.jboss.tools.esb.core.model.ESBEntityRecognizer"/>
+ <xclass id="org.jboss.tools.esb.core.model.ESBCustomizedObjectImpl"
+ class="org.jboss.tools.esb.core.model.ESBCustomizedObjectImpl"/>
+ <xclass id="org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ class="org.jboss.tools.esb.core.model.handlers.AddProviderSupport"/>
+
+ </extension>
+
+ <extension point="org.eclipse.wst.xml.core.catalogContributions">
+ <catalogContribution id="default">
+
+ <uri
+
name="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/...
+ uri="schemas/jbossesb-1.0.xsd"/>
+
+ <uri
+
name="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/...
+ uri="schemas/jbossesb-1.0.1.xsd"/>
+
+ </catalogContribution>
+ </extension>
+
+</plugin>
\ No newline at end of file
Added: trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,423 @@
+FileESB101.editorTitle=JBoss ESB Editor
+
+#ESP File
+
+FileESB101_Properties.WindowTitle=Properties
+FileESB101_Properties.Title=ESB File 1.0.1
+
+#Providers List
+
+ESBProviders101_AddBusProvider_0.WindowTitle=Add Bus Provider
+ESBProviders101_AddBusProvider_0.Title=ESB Provider
+ESBProviders101_AddBusProvider_1.WindowTitle=Add Bus Provider
+ESBProviders101_AddBusProvider_1.Title=ESB Bus
+
+ESBProviders101_AddJBRProvider_0.WindowTitle=Add JBR Provider
+ESBProviders101_AddJBRProvider_0.Title=ESB JBR Provider
+ESBProviders101_AddJBRProvider_1.WindowTitle=Add JBR Provider
+ESBProviders101_AddJBRProvider_1.Title=ESB JBR Bus
+
+ESBProviders101_AddScheduleProvider.WindowTitle=Add Schedule Provider
+ESBProviders101_AddScheduleProvider.Title=ESB Schedule Provider
+ESBProviders101_AddScheduleProvider_0.WindowTitle=Add Schedule Provider
+ESBProviders101_AddScheduleProvider_0.Title=ESB Schedule Provider
+
+ESBProviders101_AddJMSProvider_0.WindowTitle=Add JMS Provider
+ESBProviders101_AddJMSProvider_0.Title=ESB JMS Provider
+ESBProviders101_AddJMSProvider_1.WindowTitle=Add JMS Provider
+ESBProviders101_AddJMSProvider_1.Title=ESB JMS Bus
+
+ESBProviders101_AddJCAProvider_0.WindowTitle=Add JCA Provider
+ESBProviders101_AddJCAProvider_0.Title=ESB JCA Provider
+ESBProviders101_AddJCAProvider_1.WindowTitle=Add JCA Provider
+ESBProviders101_AddJCAProvider_1.Title=ESB JMS Bus
+
+ESBProviders101_AddFSProvider_0.WindowTitle=Add FS Provider
+ESBProviders101_AddFSProvider_0.Title=ESB FS Provider
+ESBProviders101_AddFSProvider_1.WindowTitle=Add FS Provider
+ESBProviders101_AddFSProvider_1.Title=ESB FS Bus
+
+ESBProviders101_AddFTPProvider_0.WindowTitle=Add FTP Provider
+ESBProviders101_AddFTPProvider_0.Title=ESB FTP Provider
+ESBProviders101_AddFTPProvider_1.WindowTitle=Add FTP Provider
+ESBProviders101_AddFTPProvider_1.Title=ESB FTP Bus
+
+ESBProviders101_AddSQLProvider_0.WindowTitle=Add SQL Provider
+ESBProviders101_AddSQLProvider_0.Title=ESB SQL Provider
+ESBProviders101_AddSQLProvider_1.WindowTitle=Add SQL Provider
+ESBProviders101_AddSQLProvider_1.Title=ESB SQL Bus
+
+ESBProviders101_AddHibernateProvider_0.WindowTitle=Add Hibernate Provider
+ESBProviders101_AddHibernateProvider_0.Title=ESB Hibernate Provider
+ESBProviders101_AddHibernateProvider_1.WindowTitle=Add Hibernate Provider
+ESBProviders101_AddHibernateProvider_1.Title=ESB Hibernate Bus
+
+ESBProviders101_Properties.WindowTitle=Properties
+ESBProviders101_Properties.Title=Providers List
+
+#Services List
+
+ESBServices101_AddService.WindowTitle=Add Service
+ESBServices101_AddService.Title=ESB Service
+ESBServices101_AddService_0.WindowTitle=Add Service
+ESBServices101_AddService_0.Title=ESB Service
+
+ESBServices101_Properties.WindowTitle=Properties
+ESBServices101_Properties.Title=Services List
+
+#Bus Provider
+
+ESBBusProvider101_AddProperty.WindowTitle=Add Property
+ESBBusProvider101_AddProperty.Title=ESB Property
+
+ESBBusProvider101_AddBus.WindowTitle=Add Bus
+ESBBusProvider101_AddBus.Title=ESB Bus
+
+ESBBusProvider101_Properties.WindowTitle=Properties
+ESBBusProvider101_Properties.Title=ESB Bus Provider
+
+#JBR Provider
+
+ESBJBRProvider101_AddProperty.WindowTitle=Add Property
+ESBJBRProvider101_AddProperty.Title=ESB Property
+
+ESBJBRProvider101_AddBus.WindowTitle=Add JBR Bus
+ESBJBRProvider101_AddBus.Title=ESB JBR Bus
+
+ESBJBRProvider101_Properties.WindowTitle=Properties
+ESBJBRProvider101_Properties.Title=ESB JBR Provider
+
+#Schedule Provider
+
+ESBScheduleProvider101_AddProperty.WindowTitle=Add Property
+ESBScheduleProvider101_AddProperty.Title=ESB Property
+
+ESBScheduleProvider101_AddSimpleSchedule.WindowTitle=Add Simple Schedule
+ESBScheduleProvider101_AddSimpleSchedule.Title=ESB Simple Schedule
+
+ESBScheduleProvider101_AddCronSchedule.WindowTitle=Add Cron Schedule
+ESBScheduleProvider101_AddCronSchedule.Title=ESB Cron Schedule
+
+ESBScheduleProvider101_Properties.WindowTitle=Properties
+ESBScheduleProvider101_Properties.Title=ESB Schedule Provider
+
+#JMS Provider
+
+ESBJMSProvider101_AddProperty.WindowTitle=Add Property
+ESBJMSProvider101_AddProperty.Title=ESB Property
+
+ESBJMSProvider101_AddBus.WindowTitle=Add JMS Bus
+ESBJMSProvider101_AddBus.Title=ESB JMS Bus
+
+ESBJMSProvider101_Properties.WindowTitle=Properties
+ESBJMSProvider101_Properties.Title=ESB JMS Provider
+
+#Hibernate Provider
+
+ESBHibernateProvider101_AddProperty.WindowTitle=Add Property
+ESBHibernateProvider101_AddProperty.Title=ESB Property
+
+ESBHibernateProvider101_AddBus.WindowTitle=Add Hibernate Bus
+ESBHibernateProvider101_AddBus.Title=ESB Hibernate Bus
+
+ESBHibernateProvider101_Properties.WindowTitle=Properties
+ESBHibernateProvider101_Properties.Title=ESB Hibernate Provider
+
+#JCA Provider
+
+ESBJCAProvider101_AddProperty.WindowTitle=Add Property
+ESBJCAProvider101_AddProperty.Title=ESB Property
+
+ESBJCAProvider101_AddBus.WindowTitle=Add JMS Bus
+ESBJCAProvider101_AddBus.Title=ESB JMS Bus
+
+ESBJCAProvider101_Properties.WindowTitle=Properties
+ESBJCAProvider101_Properties.Title=ESB JCA Provider
+
+#SQL Provider
+
+ESBSQLProvider101_AddProperty.WindowTitle=Add Property
+ESBSQLProvider101_AddProperty.Title=ESB Property
+
+ESBSQLProvider101_AddBus.WindowTitle=Add SQL Bus
+ESBSQLProvider101_AddBus.Title=ESB SQL Bus
+
+ESBSQLProvider101_Properties.WindowTitle=Properties
+ESBSQLProvider101_Properties.Title=ESB SQL Provider
+
+#FTP Provider
+
+ESBFTPProvider101_AddProperty.WindowTitle=Add Property
+ESBFTPProvider101_AddProperty.Title=ESB Property
+
+ESBFTPProvider101_AddBus.WindowTitle=Add FTP Bus
+ESBFTPProvider101_AddBus.Title=ESB FTP Bus
+
+ESBFTPProvider101_Properties.WindowTitle=Properties
+ESBFTPProvider101_Properties.Title=ESB FTP Provider
+
+#FS Provider
+
+ESBFSProvider101_AddProperty.WindowTitle=Add Property
+ESBFSProvider101_AddProperty.Title=ESB Property
+
+ESBFSProvider101_AddBus.WindowTitle=Add FS Bus
+ESBFSProvider101_AddBus.Title=ESB FS Bus
+
+ESBFSProvider101_Properties.WindowTitle=Properties
+ESBFSProvider101_Properties.Title=ESB FS Provider
+
+#Bus
+
+ESBBus_AddProperty.WindowTitle=Add Property
+ESBBus_AddProperty.Title=ESB Property
+
+ESBBus_Properties.WindowTitle=Properties
+ESBBus_Properties.Title=ESB Bus
+
+#JBR Bus
+
+ESBJBRBus101_AddProperty.WindowTitle=Add Property
+ESBJBRBus101_AddProperty.Title=ESB Property
+
+ESBJBRBus101_Properties.WindowTitle=Properties
+ESBJBRBus101_Properties.Title=ESB JBR Bus
+
+#Cron Schedule
+
+ESBCronSchedule101_AddProperty.WindowTitle=Add Property
+ESBCronSchedule101_AddProperty.Title=ESB Property
+
+ESBCronSchedule101_Properties.WindowTitle=Properties
+ESBCronSchedule101_Properties.Title=ESB Cron Schedule
+
+#Simple Schedule
+
+ESBSimpleSchedule101_AddProperty.WindowTitle=Add Property
+ESBSimpleSchedule101_AddProperty.Title=ESB Property
+
+ESBSimpleSchedule101_Properties.WindowTitle=Properties
+ESBSimpleSchedule101_Properties.Title=ESB Simple Schedule
+
+#JMS Bus
+
+ESBJMSBus101_AddProperty.WindowTitle=Add Property
+ESBJMSBus101_AddProperty.Title=ESB Property
+
+ESBJMSBus101_Properties.WindowTitle=Properties
+ESBJMSBus101_Properties.Title=ESB JMS Bus
+
+#JMS Message Filter
+
+ESBJMSMessageFilter101_Properties.WindowTitle=Properties
+ESBJMSMessageFilter101_Properties.Title=ESB JMS Message Filter
+
+#Hibernate Bus
+
+ESBHibernateBus101_AddProperty.WindowTitle=Add Property
+ESBHibernateBus101_AddProperty.Title=ESB Property
+
+ESBHibernateBus101_AddFilter.WindowTitle=Add Hibernate Message Filter
+ESBHibernateBus101_AddFilter.Title=ESB Hibernate Message Filter
+
+ESBHibernateBus101_Properties.WindowTitle=Properties
+ESBHibernateBus101_Properties.Title=ESB Hibernate Bus
+
+#Hibernate Message Filter
+
+ESBHibernateMessageFilter101_Properties.WindowTitle=Properties
+ESBHibernateMessageFilter101_Properties.Title=ESB Hibernate Message Filter
+
+#SQL Bus
+
+ESBSQLBus101_AddProperty.WindowTitle=Add Property
+ESBSQLBus101_AddProperty.Title=ESB Property
+
+ESBSQLBus101_Properties.WindowTitle=Properties
+ESBSQLBus101_Properties.Title=ESB SQL Bus
+
+#SQL Message Filter
+
+ESBSQLMessageFilter101_Properties.WindowTitle=Properties
+ESBSQLMessageFilter101_Properties.Title=ESB SQL Message Filter
+
+#FTP Bus
+
+ESBFTPBus101_AddProperty.WindowTitle=Add Property
+ESBFTPBus101_AddProperty.Title=ESB Property
+
+ESBFTPBus101_Properties.WindowTitle=Properties
+ESBFTPBus101_Properties.Title=ESB FTP Bus
+
+#FTP Message Filter
+
+ESBFTPMessageFilter101_Properties.WindowTitle=Properties
+ESBFTPMessageFilter101_Properties.Title=ESB FTP Message Filter
+
+#FS Bus
+
+ESBFSBus101_AddProperty.WindowTitle=Add Property
+ESBFSBus101_AddProperty.Title=ESB Property
+
+ESBFSBus101_Properties.WindowTitle=Properties
+ESBFSBus101_Properties.Title=ESB FS Bus
+
+#FS Message Filter
+
+ESBFSMessageFilter101_Properties.WindowTitle=Properties
+ESBFSMessageFilter101_Properties.Title=ESB FS Message Filter
+
+#Property
+
+ESBProperty_CreateTag.WindowTitle=Add Tag
+ESBProperty_CreateTag.Title=Any Tag
+
+ESBProperty_Properties.WindowTitle=Properties
+ESBProperty_Properties.Title=ESB Property
+
+#Service
+
+ESBService101_Properties.WindowTitle=Properties
+ESBService101_Properties.Title=ESB Service
+
+#Listeners List
+
+ESBListeners101_AddListener.WindowTitle=Add Listener
+ESBListeners101_AddListener.Title=ESB Listener
+
+ESBListeners101_AddScheduledListener.WindowTitle=Add Scheduled Listener
+ESBListeners101_AddScheduledListener.Title=ESB Scheduled Listener
+
+ESBListeners101_AddJCAGateway.WindowTitle=Add JCA Gateway
+ESBListeners101_AddJCAGateway.Title=ESB JCA Gateway
+
+ESBListeners101_AddJMSListener.WindowTitle=Add JMS Listener
+ESBListeners101_AddJMSListener.Title=ESB JMS Listener
+
+ESBListeners101_AddFSListener.WindowTitle=Add FS Listener
+ESBListeners101_AddFSListener.Title=ESB FS Listener
+
+ESBListeners101_AddFTPListener.WindowTitle=Add FTP Listener
+ESBListeners101_AddFTPListener.Title=ESB FTP Listener
+
+ESBListeners101_AddSQLListener.WindowTitle=Add SQL Listener
+ESBListeners101_AddSQLListener.Title=ESB SQL Listener
+
+ESBListeners101_AddJBRListener.WindowTitle=Add JBR Listener
+ESBListeners101_AddJBRListener.Title=ESB JBR Listener
+
+ESBListeners101_AddHibernateListener.WindowTitle=Add Hibernate Listener
+ESBListeners101_AddHibernateListener.Title=ESB Hibernate Listener
+
+ESBListeners101_AddGroovyListener.WindowTitle=Add Groovy Listener
+ESBListeners101_AddGroovyListener.Title=ESB Groovy Listener
+
+ESBListeners101_Properties.WindowTitle=Properties
+ESBListeners101_Properties.Title=ESB Listeners List
+
+# ESB Listener
+
+ESBListener101_AddProperty.WindowTitle=Add Property
+ESBListener101_AddProperty.Title=ESB Property
+
+ESBListener101_Properties.WindowTitle=Properties
+ESBListener101_Properties.Title=ESB Listener
+
+# Scheduled Listener
+
+ESBScheduledListener101_AddProperty.WindowTitle=Add Property
+ESBScheduledListener101_AddProperty.Title=ESB Property
+
+ESBScheduledListener101_Properties.WindowTitle=Properties
+ESBScheduledListener101_Properties.Title=ESB Scheduled Listener
+
+# JCA Gateway
+
+ESBJCAGateway101_AddProperty.WindowTitle=Add Property
+ESBJCAGateway101_AddProperty.Title=ESB Property
+
+ESBJCAGateway101_Properties.WindowTitle=Properties
+ESBJCAGateway101_Properties.Title=ESB JCA Gateway
+
+# JMS Listener
+
+ESBJMSListener101_AddProperty.WindowTitle=Add Property
+ESBJMSListener101_AddProperty.Title=ESB Property
+
+ESBJMSListener101_Properties.WindowTitle=Properties
+ESBJMSListener101_Properties.Title=ESB JMS Listener
+
+# FS Listener
+
+ESBFSListener101_AddProperty.WindowTitle=Add Property
+ESBFSListener101_AddProperty.Title=ESB Property
+
+ESBFSListener101_Properties.WindowTitle=Properties
+ESBFSListener101_Properties.Title=ESB FS Listener
+
+# FTP Listener
+
+ESBFTPListener101_AddProperty.WindowTitle=Add Property
+ESBFTPListener101_AddProperty.Title=ESB Property
+
+ESBFTPListener101_Properties.WindowTitle=Properties
+ESBFTPListener101_Properties.Title=ESB FTP Listener
+
+# SQL Listener
+
+ESBSQLListener101_AddProperty.WindowTitle=Add Property
+ESBSQLListener101_AddProperty.Title=ESB Property
+
+ESBSQLListener101_Properties.WindowTitle=Properties
+ESBSQLListener101_Properties.Title=ESB SQL Listener
+
+# Groovy Listener
+
+ESBGroovyListener101_AddProperty.WindowTitle=Add Property
+ESBGroovyListener101_AddProperty.Title=ESB Property
+
+ESBGroovyListener101_Properties.WindowTitle=Properties
+ESBGroovyListener101_Properties.Title=ESB Groovy Listener
+
+# JBR Listener
+
+ESBJBRListener101_AddProperty.WindowTitle=Add Property
+ESBJBRListener101_AddProperty.Title=ESB Property
+
+ESBJBRListener101_Properties.WindowTitle=Properties
+ESBJBRListener101_Properties.Title=ESB JBR Listener
+
+# Hibernate Listener
+
+ESBHibernateListener101_AddProperty.WindowTitle=Add Property
+ESBHibernateListener101_AddProperty.Title=ESB Property
+
+ESBHibernateListener101_AddFilter.WindowTitle=Add Hibernate Message Filter
+ESBHibernateListener101_AddFilter.Title=ESB Hibernate Message Filter
+
+ESBHibernateListener101_Properties.WindowTitle=Properties
+ESBHibernateListener101_Properties.Title=ESB Hibernate Listener
+
+# Actions List
+
+ESBActions101_AddAction.WindowTitle=Add Action
+ESBActions101_AddAction.Title=ESB Action
+
+ESBActions101_Properties.WindowTitle=Properties
+ESBActions101_Properties.Title=ESB Actions List
+
+# Action
+
+AddProperty.WindowTitle=Add Property
+AddProperty.Title=ESB Property
+
+ESBAction101_Properties.WindowTitle=Properties
+ESBAction101_Properties.Title=ESB Action
+
+# Activation Config
+
+ESBActivationConfig101_AddProperty.WindowTitle=Add Property
+ESBActivationConfig101_AddProperty.Title=ESB Property
+
+ESBActivationConfig101_Properties.WindowTitle=Properties
+ESBActivationConfig101_Properties.Title=ESB Activation Config
Added: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2008-02-18 11:01:29
UTC (rev 6370)
@@ -0,0 +1,2230 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
+<XModelEntityGroup>
+ <VERSION DEPENDS="Model:1.0" MODULE="ESB Editor"
VERSION="1.0"/>
+ <MAPPINGS>
+ <MAPPING name="FileVersions">
+ <PAIR name="ESB1.0.1" value="FileESB101"/>
+ </MAPPING>
+ <MAPPING name="FilteredTreeConstraints"/>
+ <MAPPING name="FilteredTrees"/>
+ <MAPPING name="Handlers"/>
+ <MAPPING name="Implementations">
+ <PAIR name="ESB"
value="org.jboss.tools.esb.core.model.ESBCustomizedObjectImpl"/>
+ </MAPPING>
+ <MAPPING name="Recognizers">
+ <PAIR name="xml$47"
value="org.jboss.tools.esb.core.model.ESBEntityRecognizer"/>
+ </MAPPING>
+ </MAPPINGS>
+ <ICONS>
+ <GROUP name="action">
+ <GROUP name="new">
+ <GROUP name="esb"/>
+ </GROUP>
+ </GROUP>
+ <GROUP name="main">
+ <GROUP name="esb">
+ <ICON name="action"
path="plugin:org.jboss.tools.esb.core:images/esb/action.gif"/>
+ <ICON name="actions"
path="plugin:org.jboss.tools.esb.core:images/esb/action_list.gif"/>
+ <ICON name="bus"
path="plugin:org.jboss.tools.esb.core:images/esb/bus.gif"/>
+ <ICON name="config"
path="plugin:org.jboss.tools.esb.core:images/esb/config.gif"/>
+ <ICON name="file"
path="plugin:org.jboss.tools.esb.core:images/esb/esb_file.gif"/>
+ <ICON name="filter"
path="plugin:org.jboss.tools.esb.core:images/esb/filter.gif"/>
+ <ICON name="listener"
path="plugin:org.jboss.tools.esb.core:images/esb/listener.gif"/>
+ <ICON name="listeners"
path="images/file/closed_folder.gif"/>
+ <ICON name="property"
path="plugin:org.jboss.tools.esb.core:images/esb/property.gif"/>
+ <ICON name="provider"
path="plugin:org.jboss.tools.esb.core:images/esb/provider.gif"/>
+ <ICON name="providers"
path="images/file/closed_folder.gif"/>
+ <ICON name="schedule"
path="plugin:org.jboss.tools.esb.core:images/esb/schedule.gif"/>
+ <ICON name="service"
path="plugin:org.jboss.tools.esb.core:images/esb/service.gif"/>
+ <ICON name="services"
path="images/file/closed_folder.gif"/>
+ </GROUP>
+ </GROUP>
+ </ICONS>
+ <GlobalActions kind="list"/>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="action" name="ESBAction101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="action" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="class" xmlname="class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="process"
xmlname="process"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Property..." kind="action"
name="AddProperty">
+ <EntityData EntityName="ESBProperty">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="actions" name="ESBActions101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBAction101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.actions" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="actions list" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Actions" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
name="mep" xmlname="mep">
+ <Constraint loader="ListString">
+ <value name="RequestResponse"/>
+ <value name="OneWay"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Add Action..."
+ kind="action" name="AddAction">
+ <EntityData EntityName="ESBAction101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ <AttributeData AttributeName="process" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="activation-config" name="ESBActivationConfig101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.config" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="activation config"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Activation Config" name="name"
visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="bus" name="ESBBus">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="bus-provider" name="ESBBusProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJBRBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="bus provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBBus">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="cron-schedule" name="ESBCronSchedule101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.schedule" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="cron schedule" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="schedule id,start date,end date"
+ entity="ESBSimpleSchedule101" name="schedule"/>
+ <XModelAttribute PROPERTIES="category=general" name="cron
expression" xmlname="cronExpression"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-bus" name="ESBFSBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFSMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-listener" name="ESBFSListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFSMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference
+ attributes="poll frequency seconds,schedule frequency,schedule id ref"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="fs-message-filter" name="ESBFSMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs message filter"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter"
name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="directory" xmlname="directory"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="input suffix" xmlname="input-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="work
suffix" xmlname="work-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="post
delete" xmlname="post-delete">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="post
directory" xmlname="post-directory"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="post
suffix" xmlname="post-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="error
delete" xmlname="error-delete">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="error directory" xmlname="error-directory"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="error
suffix" xmlname="error-suffix"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-provider" name="ESBFSProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBFSBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FS Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBFSBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-bus" name="ESBFTPBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFTPMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-listener" name="ESBFTPListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFTPMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference
+ attributes="poll frequency seconds,schedule frequency,schedule id ref"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="ftp-message-filter" name="ESBFTPMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp message filter"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter"
name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="directory" xmlname="directory"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="username" xmlname="username"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="password" xmlname="password"/>
+ <XModelAttributeReference
+ attributes="input suffix,work suffix,post delete,post directory,post
suffix,error delete,error directory,error suffix"
+ entity="ESBFSMessageFilter101" name="filter"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="passive"
xmlname="passive">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="protocol"
xmlname="protocol">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="ftp"/>
+ <value name="ftps"/>
+ <value name="sftp"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="certificate url" xmlname="certificate-url"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="read
only" xmlname="read-only">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-provider" name="ESBFTPProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBFTPBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="hostname" xmlname="hostname"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FTP Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBFTPBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
+ XMLSUBPATH="groovy-listener" name="ESBGroovyListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="groovy listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="script" xmlname="script"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-bus" name="ESBHibernateBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBHibernateMessageFilter101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="hibernate bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Filter..." kind="action"
name="AddFilter">
+ <EntityData EntityName="ESBHibernateMessageFilter101">
+ <AttributeData AttributeName="class name"/>
+ <AttributeData AttributeName="event" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-listener" name="ESBHibernateListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBHibernateMessageFilter101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="hibernate listener"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Filter..." kind="action"
name="AddFilter">
+ <EntityData EntityName="ESBHibernateMessageFilter101">
+ <AttributeData AttributeName="class name"/>
+ <AttributeData AttributeName="event" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="hibernate-message-filter"
name="ESBHibernateMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="hibernate message filter"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="Filter" name="name"
visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always;id=true"
+ name="class name" xmlname="classname">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="event"
xmlname="event"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-provider" name="ESBHibernateProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBHibernateBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="hibernate cfg file" xmlname="hibernate-cfg-file"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Hibernate Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBHibernateBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="jbr-bus" name="ESBJBRBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="Int"/>
+ <Editor name="Int"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
+ XMLSUBPATH="jbr-listener" name="ESBJBRListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jbr-provider" name="ESBJBRProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJBRBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="http" name="protocol" xmlname="protocol">
+ <Constraint loader="List">
+ <value name="http"/>
+ <value name="socket"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="host"
xmlname="host"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JBR Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBJBRBus101">
+ <AttributeData AttributeName="bus id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jca-gateway" name="ESBJCAGateway101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBActivationConfig101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jca gateway" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true;save=always"
+ name="adapter" xmlname="adapter"/>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="endpoint class" xmlname="endpointClass">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ name="messaging type" xmlname="messagingType"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="jca bridge" xmlname="jcaBridge"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-jca-provider" name="ESBJCAProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJMSBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jca provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,connection factory, jndi context factory,jndi pkg prefix,jndi
url"
+ entity="ESBJMSProvider101" name="jms"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="adapter"
xmlname="adapter"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="endpoint
class" xmlname="endpointClass">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="messaging
type" xmlname="messagingType">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="jca
bridge" xmlname="jcaBridge">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItemReference entity="ESBJMSProvider101" name="AddBus"
path="CreateActions/AddBus"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-bus" name="ESBJMSBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJMSMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-listener" name="ESBJMSListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJMSMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="jms-message-filter" name="ESBJMSMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms message filter"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter"
name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="dest name" xmlname="dest-name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="QUEUE" name="dest type"
xmlname="dest-type">
+ <Constraint loader="List">
+ <value name="QUEUE"/>
+ <value name="TOPIC"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="selector"
xmlname="selector"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="persistent" xmlname="persistent">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="acknowledge mode" xmlname="acknowledge-mode">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="AUTO_ACKNOWLEDGE"/>
+ <value name="CLIENT_ACKNOWLEDGE"/>
+ <value name="DUPS_OK_ACKNOWLEDGE"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jms security principal"
xmlname="jms-security-principal"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jms security credential"
xmlname="jms-security-credential"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-provider" name="ESBJMSProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJMSBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="connection factory" xmlname="connection-factory"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jndi context factory" xmlname="jndi-context-factory"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jndi pkg prefix" xmlname="jndi-pkg-prefix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="jndi url"
xmlname="jndi-URL"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JMS Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBJMSBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="listener" name="ESBListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="bus id
ref" xmlname="busidref"/>
+ <XModelAttribute PROPERTIES="category=general" name="max
threads" xmlname="maxThreads"/>
+ <XModelAttribute PROPERTIES="category=general" name="is
gateway" xmlname="is-gateway">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="listeners" name="ESBListeners101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBListener101"/>
+ <XChildEntity name="ESBScheduledListener101"/>
+ <XChildEntity name="ESBJCAGateway101"/>
+ <XChildEntity name="ESBJMSListener101"/>
+ <XChildEntity name="ESBFSListener101"/>
+ <XChildEntity name="ESBFTPListener101"/>
+ <XChildEntity name="ESBSQLListener101"/>
+ <XChildEntity name="ESBHibernateListener101"/>
+ <XChildEntity name="ESBJBRListener101"/>
+ <XChildEntity name="ESBGroovyListener101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listeners" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listeners list" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Listeners" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Listener..."
kind="action" name="AddListener">
+ <EntityData EntityName="ESBListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Scheduled Listener..."
+ kind="action" name="AddScheduledListener">
+ <EntityData EntityName="ESBScheduledListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="event processor"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="JCA Gateway..."
+ kind="action" name="AddJCAGateway">
+ <EntityData EntityName="ESBJCAGateway101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="adapter"/>
+ <AttributeData AttributeName="endpoint class"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="JMS Listener..."
+ kind="action" name="AddJMSListener">
+ <EntityData EntityName="ESBJMSListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="FS Listener..."
+ kind="action" name="AddFSListener">
+ <EntityData EntityName="ESBFSListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="FTP Listener..."
+ kind="action" name="AddFTPListener">
+ <EntityData EntityName="ESBFTPListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="SQL Listener..."
+ kind="action" name="AddSQLListener">
+ <EntityData EntityName="ESBSQLListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Hibernate Listener..."
+ kind="action" name="AddHibernateListener">
+ <EntityData EntityName="ESBHibernateListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="JBR Listener..."
+ kind="action" name="AddJBRListener">
+ <EntityData EntityName="ESBJBRListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="bus id ref"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Groovy Listener..."
+ kind="action" name="AddGroovyListener">
+ <EntityData EntityName="ESBGroovyListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="script"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Listener..."
+ kind="action" name="AddAnyListener"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="property" name="ESBProperty">
+ <XChildrenEntities>
+ <XChildEntity name="AnyElement"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.property" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="property" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="value"
xmlname="value"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="entity=AnyElement" WizardClassName="%Default%"
+ displayName="Add Tag..." kind="action"
name="CreateTag">
+ <EntityData EntityName="AnyElementNew">
+ <AttributeData AttributeName="tag"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list"
name="Properties">
+ <XActionItem HandlerClassName="%Properties%"
ICON="action.empty"
+ displayName="Properties..." kind="action"
name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list"
name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action"
name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="providers" name="ESBProviders101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBBusProvider101"/>
+ <XChildEntity name="ESBJBRProvider101"/>
+ <XChildEntity name="ESBScheduleProvider101"/>
+ <XChildEntity name="ESBJMSProvider101"/>
+ <XChildEntity name="ESBJCAProvider101"/>
+ <XChildEntity name="ESBFSProvider101"/>
+ <XChildEntity name="ESBFTPProvider101"/>
+ <XChildEntity name="ESBSQLProvider101"/>
+ <XChildEntity name="ESBHibernateProvider101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="providers list" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Providers" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="Bus Provider..." kind="action"
name="AddBusProvider">
+ <EntityData EntityName="ESBBusProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBBus">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="JBR Provider..." kind="action"
name="AddJBRProvider">
+ <EntityData EntityName="ESBJBRProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="protocol"/>
+ </EntityData>
+ <EntityData EntityName="ESBJBRBus101">
+ <AttributeData AttributeName="bus id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Schedule Provider..." kind="action"
name="AddScheduleProvider">
+ <EntityData EntityName="ESBScheduleProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="JMS Provider..." kind="action"
name="AddJMSProvider">
+ <EntityData EntityName="ESBJMSProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="connection factory"/>
+ </EntityData>
+ <EntityData EntityName="ESBJMSBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="JCA Provider..." kind="action"
name="AddJCAProvider">
+ <EntityData EntityName="ESBJCAProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="connection factory"/>
+ </EntityData>
+ <EntityData EntityName="ESBJMSBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="FS Provider..." kind="action"
name="AddFSProvider">
+ <EntityData EntityName="ESBFSProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBFSBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="FTP Provider..." kind="action"
name="AddFTPProvider">
+ <EntityData EntityName="ESBFTPProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="hostname"/>
+ </EntityData>
+ <EntityData EntityName="ESBFTPBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="SQL Provider..." kind="action"
name="AddSQLProvider">
+ <EntityData EntityName="ESBSQLProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBSQLBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.empty"
+
PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
+ displayName="Hibernate Provider..." kind="action"
name="AddHibernateProvider">
+ <EntityData EntityName="ESBHibernateProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="hibernate cfg file"/>
+ </EntityData>
+ <EntityData EntityName="ESBHibernateBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Provider..."
+ kind="action" name="AddAnyProvider"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-bus" name="ESBSQLBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBSQLMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql bus" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="bus id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-listener" name="ESBSQLListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBSQLMessageFilter101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql listener" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference attributes="poll frequency seconds"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="sql-message-filter" name="ESBSQLMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql message filter"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter"
name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="tablename" xmlname="tablename"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="message id column" xmlname="message-id-column"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="message
column" xmlname="message-column"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="status
column" xmlname="status-column"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="where condition" xmlname="where-condition"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="order by"
xmlname="order-by"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="insert timestamp column"
xmlname="insert-timestamp-column"/>
+ <XModelAttributeReference attributes="post delete,error delete"
+ entity="ESBFSMessageFilter101" name="filter"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-provider" name="ESBSQLProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBSQLBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql provider" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="datasource" xmlname="datasource"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="url"
xmlname="url"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="driver"
xmlname="driver"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="username"
xmlname="username"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="password"
xmlname="password"/>
+ <XModelAttributeReference attributes="transacted"
+ entity="ESBScheduledListener101" name="transacted"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="SQL Bus..." kind="action"
name="AddBus">
+ <EntityData EntityName="ESBSQLBus101">
+ <AttributeData AttributeName="bus id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="schedule-provider" name="ESBScheduleProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBSimpleSchedule101"/>
+ <XChildEntity name="ESBCronSchedule101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="schedule provider"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ <XActionItem kind="list" name="CreateSchedule">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Simple Schedule..." kind="action"
name="AddSimpleSchedule">
+ <EntityData EntityName="ESBSimpleSchedule101">
+ <AttributeData AttributeName="schedule id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Cron Schedule..." kind="action"
name="AddCronSchedule">
+ <EntityData EntityName="ESBCronSchedule101">
+ <AttributeData AttributeName="schedule id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions/CreateSchedule"
+ displayName="Schedule..." kind="action"
name="AddAnySchedule"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="scheduled-listener" name="ESBScheduledListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="scheduled listener"
loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,bus id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="poll frequency seconds"
xmlname="poll-frequency-seconds"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="schedule frequency" xmlname="schedule-frequency"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="schedule id ref" xmlname="scheduleidref"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="event processor" xmlname="event-processor"/>
+ <XModelAttribute PROPERTIES="category=advanced"
name="transacted" xmlname="transacted">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="service" name="ESBService101">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBListeners101"
required="yes"/>
+ <XChildEntity maxCount="1" name="ESBActions101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.service" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="service" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="category" xmlname="category"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="description" xmlname="description"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="services" name="ESBServices101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBService101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.services" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="services list" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Services" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ WizardClassName="%Default%" displayName="Add Service..."
+ kind="action" name="AddService">
+ <EntityData EntityName="ESBService101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="category"/>
+ <AttributeData AttributeName="description"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete"
kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete"
kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="simple-schedule" name="ESBSimpleSchedule101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.schedule" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="simple schedule" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="schedule id" xmlname="scheduleid"/>
+ <XModelAttribute PROPERTIES="category=general" name="start
date" xmlname="startDate"/>
+ <XModelAttribute PROPERTIES="category=general" name="end date"
xmlname="endDate"/>
+ <XModelAttribute PROPERTIES="category=general" name="frequency"
xmlname="frequency"/>
+ <XModelAttribute name="exec count" xmlname="execCount"/>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty"
path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create"
kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
+
ImplementingClass="org.jboss.tools.common.model.filesystems.impl.SimpleFileImpl"
+ ObjectEditorClass="%XML%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%"
+ XMLSUBPATH="jbossesb" name="FileESB101">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBProviders101"
required="yes"/>
+ <XChildEntity maxCount="1" name="ESBServices101"
required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jboss esb" loader="ElementType"
name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name"
xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension"
xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment"
visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload"
visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect"
visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/e...
+ name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://www.w3.org/2001/XMLSchema-instance"
name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+
default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/e...
http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml...
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
+
default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/e...
+ name="parameter reload secs" xmlname="parameterReloadSecs"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action"
name="Open"/>
+ <XActionItem displayName="Open With" group="1"
kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action"
name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action"
name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+
HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..."
kind="action" name="Rename">
+ <EntityData EntityName="FileESB101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+
HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..."
kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT" name="SaveActions"/>
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy"
kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action"
name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action"
name="Cut"/>
+ <XActionItem BaseActionName="Paste"
HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action"
name="Paste"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT"
name="DeleteActions"/>
+ <XActionItemReference entity="FileTXT" name="Properties"/>
+ <XActionItemReference entity="FileTXT"
name="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XEntityExtension name="FileFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB101"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.newattribute" displayName="File"
group="1"
+ kind="list" name="CreateFiles">
+ <XActionItem displayName="Jboss ESB" kind="list"
name="ESB">
+ <XActionItem HIDE="always"
HandlerClassName="%SpecialWizard%"
+ ICON="action.new.seam.faces-config"
+
PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB"
+ displayName="JBoss ESB File..." kind="action"
name="CreateFileESB">
+ <EntityData EntityName="NewFileWizard">
+ <AttributeData AttributeName="folder"/>
+ <AttributeData AttributeName="separator"
Mandatory="no"/>
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="version"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.esb.file"
+
PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
+ displayName="JBoss ESB File..." kind="action"
name="CreateFileESBV"/>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
+ <XEntityExtension name="FileSystemFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB101"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New"
group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.newattribute" displayName="File"
group="1"
+ kind="list" name="CreateFiles">
+ <XActionItem displayName="Jboss ESB" kind="list"
name="ESB">
+ <XActionItem HIDE="always"
HandlerClassName="%SpecialWizard%"
+ ICON="action.new.seam.faces-config"
+
PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB"
+ displayName="JBoss ESB File..." kind="action"
name="CreateFileESB">
+ <EntityData EntityName="NewFileWizard">
+ <AttributeData AttributeName="folder"/>
+ <AttributeData AttributeName="separator"
Mandatory="no"/>
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="version"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.esb.file"
+
PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
+ displayName="JBoss ESB File..." kind="action"
name="CreateFileESBV"/>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
+</XModelEntityGroup>
Added: trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.1.xsd
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.1.xsd
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.1.xsd 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,1546 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--Generated by Turbo XML 2.4.1.100. Conforms to w3c
http://www.w3.org/2001/XMLSchema-->
+<xsd:schema
+
xmlns:jesb="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/produc...
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+
targetNamespace="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/p...
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Document root + some basic types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jbossesb">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The jbossesb configuration for a single instance.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:providers" />
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:services" />
+ </xsd:sequence>
+ <xsd:attribute default="180" name="parameterReloadSecs"
+ use="optional" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="property">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A simple name-value pair.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="xsd:anyType">
+ <xsd:attribute name="name" type="xsd:string"
+ use="required" />
+ <xsd:attribute name="value" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Provider and Bus base types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="providers">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for the providers referenced in the jbossesb
+ config file
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:provider" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType abstract="true" name="provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Abstract provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"
use="required" />
+ </xsd:complexType>
+ <xsd:element abstract="true" name="provider"
type="jesb:provider" />
+
+ <xsd:complexType name="bus-provider">
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A provider of a bus. So for instance you can
+ have a jms-provider (JBossMQ) or an
+ ftp-provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:bus" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="bus-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Generic Bus Provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A bus (also called "channel" by others) is a means by
+ which Services communicate with each other (JMS, FTP,
+ HTTP, etc).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="busid" type="xsd:string"
use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An id such that this bus can be referenced by
+ Service listn.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="bus" type="jesb:bus" />
+
+ <xsd:element name="schedule-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:schedule" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType abstract="true" name="schedule">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule Configuration.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="scheduleid" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An id such that this schedule can be referenced by
+ Service listner.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="startDate" type="xsd:dateTime"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule start time and date.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="endDate" type="xsd:dateTime"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule end time and date.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element abstract="true" name="schedule"
type="jesb:schedule" />
+
+ <xsd:element name="simple-schedule"
+ substitutionGroup="jesb:schedule">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:schedule">
+ <xsd:attribute default="10" name="frequency"
+ type="xsd:long" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule frequency, in seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="-1" name="execCount"
+ type="xsd:int" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule execution count. -1 to execute
+ indefinitely.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="cron-schedule"
+ substitutionGroup="jesb:schedule">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:schedule">
+ <xsd:attribute name="cronExpression"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule CRON expression.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Service and Action types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="services">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for services.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:service" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="service">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A service has listener or gateways and a list of
+ actions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="1"
+ ref="jesb:listeners" />
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:actions" />
+ </xsd:sequence>
+ <xsd:attribute name="category" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service category which will be used to store
+ a reference to this service in the registry.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="name" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service name which will be used to store a
+ reference to this service in the registry.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="description" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service description which stored with this
+ service in the registry, so that the purpose of
+ this service can be understood by a human.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:simpleType name="mepType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="RequestResponse" />
+ <xsd:enumeration value="OneWay" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:element name="actions">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for actions belonging to this service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:action" />
+ </xsd:sequence>
+ <xsd:attribute name="mep" type="jesb:mepType" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="action">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An action which will act on the message when it is
+ received by the service. Actions can be chained. Hence
+ you can specify a list of actions. Action are
+ 'pluggable' and can be custom code, however JBossESB
+ comes with a list of predefined actions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The logical name of the action.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="class" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The full classname of the java class in which
+ this action is defined.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="process" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The name of the method on the action that needs
+ to be called when the message is received.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Listener base types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="listeners">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for all listener for a service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:listener" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A listener is a listener or a gateway. The listener
+ defines to which bus the service is listening. The
+ service can simultaneniously listen to multiple buses.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"
use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The logical name of the listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="$not-defined$" name="busidref"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A reference to an existing bus, as defined in the
+ 'buses' section of this jbossesb config.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="1" name="maxThreads"
type="xsd:int"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The number of threads which will be started for this
+ listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="false" name="is-gateway"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ true if the listener is a gateway. A gateway is an
+ ESB-Unware listener, while a listener is ESB-aware
+ and as such expects jbossesb formatted messages.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="listener" type="jesb:listener" />
+
+ <xsd:complexType abstract="true"
+ name="abstract-scheduled-listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Abstract scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:attribute default="-1"
+ name="poll-frequency-seconds" type="xsd:int"
use="optional">
+<!-- Purposely defaults to -1 -->
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ DEPRECATED (use "schedule-frequency" or
+ "scheduleidref"): The frequency with which
+ this listener is scheduled (in seconds).
+ Defaults to 10 seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="-1" name="schedule-frequency"
+ type="xsd:int" use="optional">
+<!-- Purposely defaults to -1 -->
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The frequency with which this listener is
+ scheduled (in seconds). Defaults to 10
+ seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scheduleidref" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The id reference for the schedule that's
+ driving this scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:element name="scheduled-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:attribute name="event-processor"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Message Composer class name.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Should the schedule execute in a
+ transacted environment?
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- JCA Types -->
+ <xsd:element name="activation-config">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Activation configuration for jca bus or listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:property" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jca-gateway"
substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific gateway using JCA inflow.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:activation-config" />
+ </xsd:sequence>
+ <xsd:attribute name="adapter" type="xsd:string"
+ use="required" />
+ <xsd:attribute name="endpointClass"
+ type="xsd:string" use="required" />
+ <xsd:attribute name="messagingType"
+ type="xsd:string" use="optional" />
+ <xsd:attribute name="jcaBridge" type="xsd:string"
+ use="optional" />
+ <xsd:attribute name="transacted" type="xsd:string"
+ use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ JMS Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jms-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A JMS filter can add information to a Queue, or Topic.
+ For example you can defined a message-selector. However,
+ you can also push the queue name and type into this
+ filter given you did not already specify them in the
+ jms-bus.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="dest-name" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Name of the Queue of Topic.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="dest-type" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Queue delivers a message once, a topic
+ broadcasts a message to all registered
+ listeners.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="QUEUE" />
+ <xsd:enumeration value="TOPIC" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="selector" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A message-selector allows multiple listeners to
+ register with the same queue/topic, but they
+ will filter on this message-selector.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="persistent"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If false, JMS messages will be sent
+ non-persistent. Default is to send messages with
+ DeliveryMode.PERSISTENT.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="AUTO_ACKNOWLEDGE"
+ name="acknowledge-mode" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS Session acknowledge mode. Can be on of
+ AUTO_ACKNOWLEDGE (default), CLIENT_ACKNOWLEDGE,
+ or DUPS_OK_ACKNOWLEDGE.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute
+ name="jms-security-principal" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS destination username. Will be used when creating a connection
+ to the destination.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute
+ name="jms-security-credential" type="xsd:string"
use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS destination password. Will be used when creating a connection
+ to the destination. Will be ignored if username is not specified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A JMS-Bus is a specific instance of a bus using the JMS
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:jms-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="jms-provider-type">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing JMS.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="connection-factory"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The connection-factory used to lookup
+ queues/topics in a naming directory (JNDI)
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-context-factory"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The context factory class the JBossESB will
+ use to do naming lookups.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-pkg-prefix"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The pkg-prefix which will be used to do
+ naming lookups. It is left empty by default.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-URL" type="xsd:anyURI">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The URL used to do naming lookups.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="jms-provider"
substitutionGroup="jesb:provider"
+ type="jesb:jms-provider-type" />
+
+ <xsd:element name="jms-jca-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing JMS through
+ JCA inflow.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:jms-provider-type">
+ <xsd:attribute name="adapter" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The artifact containing the resource
+ adapter.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="endpointClass"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the JCA endpoint.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="messagingType"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the messaging specific
+ interface.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jcaBridge" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the JCA Bridge.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The transacted flag.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the jms protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:jms-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FS Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="fs-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FS filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share that is monitored for incoming
+ new files.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used to filter files targeted
+ for comsumption by the ESB (note: add the dot,
+ so something like '.esbIn').
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbInProcess" name="work-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used while the file is being
+ process, so that another thread or process won't
+ pick it up too.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="post-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share to which the file will be moved
+ after it is processed by the ESB
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbDone" name="post-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after it is processed.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted if an error
+ occurs during processing. Note that in that case
+ error-directory and error-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="error-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share to which the file will be moved
+ after when an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbERROR" name="error-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Fs-Bus is a specific instance of a bus using the File
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:fs-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-provider"
substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a file
+ system (local fileshare or NAS).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-listener"
substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the file protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:fs-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FTP Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="ftp-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FTP filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory that is monitored for incoming
+ new files.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The username used to access the ftp server
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The password used to access the ftp server.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used to filter files targeted
+ for comsumption by the ESB (note: add the dot,
+ so something like '.esbIn').
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbInProcess" name="work-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used while the file is being
+ process, so that another thread or process won't
+ pick it up too.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-directory" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory to which the file will be
+ moved after it is processed by the ESB
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbDone" name="post-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after it is processed.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted if an error
+ occurs during processing. Note that in that case
+ error-directory and error-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="error-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory to which the file will be
+ moved after when an error occurs during
+ processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbERROR" name="error-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="passive" type="xsd:boolean"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ This is an ftp server setting which may vary per
+ session.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="ftp" name="protocol"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The protocol, can be sftp (SSH File Transfer
+ Protocol), ftps (FTP over SLL) and ftp (to which
+ it defaults).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ftp" />
+ <xsd:enumeration value="ftps" />
+ <xsd:enumeration value="sftp" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="certificate-url" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The url to a certificate, which can be needed
+ for secure protocols (sftp and ftps).
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="false" name="read-only"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the ftp server does not permit write
+ opertations on files. Note that in this case the
+ following properties have no effect:
+ work-suffix, post-delete, post-directory,
+ post-suffix, error-delete, error-directory, and
+ error-suffix.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FTP-Bus is a specific instance of a bus using the FTP
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:ftp-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a ftp
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="hostname" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp hostname, as it can be resolved
+ by DNS.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the ftp protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:ftp-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ SQL Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="sql-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A SQL filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="tablename" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The table in which esb message are stored.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="message_id" name="message-id-column"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A unique key (PK) in the table.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="message" name="message-column"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The field that holds the serialized message.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="status" name="status-column"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ This column contents ('P', 'W', 'E' or 'D')
+ indicates if the row is pending (P), in process
+ (W), in error(E) or done (D) if postDelete
+ and/or errorDelete are 'true' rows might be
+ deleted
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="where-condition" use="optional"
+ type="xsd:string" default="">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A where clause, not including the word where,
+ which is applied to the query.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="order-by" use="optional"
+ type="xsd:string" default="">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A where clause, not including the word where,
+ which is applied to the query.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="insert-timestamp-column" use="optional"
+ type="xsd:string" default="insert_timestamp">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Holds the timestamp when the record was
+ inserted.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, records will be deleted after
+ processing.((e.g. no rows with a 'D' for done,
+ in column defined in 'status_column')
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, records in error will be deleted after
+ attempted picked up for processing.(e.g. no rows
+ with a 'E' for error, in column defined in
+ 'status_column')
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A SQL-Bus is a specific instance of a bus using the SQL
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:sql-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a db
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="datasource" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The name of the datasource.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="url" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The url needed to connect to the db.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="driver" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The driver needed to connect to the db.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The username used to access the
+ database.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The password used to access the
+ database.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The transacted flag.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the SQL protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:sql-message-filter" />
+ </xsd:sequence>
+ <xsd:attribute default="10"
+ name="poll-frequency-seconds" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The frequency with which this listener
+ polls the db in seconds. Defaults to 10
+ seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:integer">
+ <xsd:minExclusive value="0" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Hibernate Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="hibernate-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Hibernate filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="classname" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name to monitor.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="message_id" name="event"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A comma-separated list of events to intercept.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-bus"
substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A hibernate-bus is a specific instance of a bus using
+ the Hibernate protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:hibernate-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a hibernate
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="hibernate-cfg-file"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The Hibernate configuration file to use.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the hibernate protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:hibernate-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ JBoss Remoting Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="jbr-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Bus
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:attribute name="port" type="xsd:int"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Server listen port.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jbr-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="protocol" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Jboss Remoting Listener/Server protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="http" />
+ <xsd:enumeration value="socket" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="host" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Server bind address. When
+ not specified, defaults to
+ InetAddress.getLocalHost().getHostName().
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jbr-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Groovy Gateway Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="groovy-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Groovy Listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:attribute name="script" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The path (classpath) to the Groovy
+ Gateway script. Or, the alias for the
+ pre-packaged Groovy Gateway script.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>
Added: trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.xsd
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.xsd
(rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.0.xsd 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,542 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--Generated by Turbo XML 2.4.1.100. Conforms to w3c
http://www.w3.org/2001/XMLSchema-->
+<xsd:schema
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:jesb="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/produc...
+
targetNamespace="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/p...
+ elementFormDefault="qualified">
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Document root + some basic types.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jbossesb">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The jbossesb configuration for a
single instance.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:providers" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element ref="jesb:services" minOccurs="0"
maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="parameterReloadSecs" use="optional"
default="180"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="property">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A simple name-value
pair.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="xsd:anyType">
+ <xsd:attribute name="name" use="required"
type="xsd:string"/>
+ <xsd:attribute name="value" type="xsd:string"/>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Provider and Bus base types.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="providers">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A container for the providers
referenced in the jbossesb config file</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:provider" maxOccurs="unbounded"
minOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A provider of a bus. So for
instance you can have a jms-provider (JBossMQ) or an
ftp-provider.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="jesb:property" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element ref="jesb:bus" maxOccurs="unbounded"
minOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required"
type="xsd:string"/>
+ </xsd:complexType>
+ <xsd:element name="provider" type="jesb:provider"/>
+
+ <xsd:complexType name="bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A bus (also called
"channel" by others) is a means by which Services communicate with each other
(JMS, FTP, HTTP, etc).</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="jesb:property" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="busid" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">An id such that this bus can be
referenced by Service listn.</xsd:documentation><xsd:appinfo>
+ </xsd:appinfo></xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="bus" type="jesb:bus" />
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Service and Action types.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="services">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A container for
services.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:service" minOccurs="1"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="service">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A service has listener or gateways
and a list of actions.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:listeners" minOccurs="1"
maxOccurs="1"/>
+ <xsd:element ref="jesb:actions" minOccurs="0"
maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="category" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The service category which will be
used to store a reference to this service in the registry.
+ </xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="name" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The service name which will be used
to store a reference to this service in the registry.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="description" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The service description which
stored with this service in the registry, so that the purpose of this service can be
understood by a human.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="actions">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A container for actions belonging to
this service.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:action" minOccurs="1"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="action">
+ <xsd:annotation><xsd:documentation xml:lang="en">An action which
will act on the message when it is received by the service.
+ Actions can be chained. Hence you can specify a list of actions. Action are
'pluggable' and can be custom code, however
+ JBossESB comes with a list of predefined actions.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:property" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The logical name of the
action.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="class" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The full classname of the java class
in which this action is defined.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="process" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The name of the method on the
action that needs to be called when the message is received.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Listener base types.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="listeners">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A container for all listener for a
service.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="jesb:listener" maxOccurs="unbounded"
minOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A listener is a listener or a
gateway. The listener defines to which bus
+ the service is listening. The service can simultaneniously listen to multiple
buses.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element ref="jesb:property" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The logical name of the
listener.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="busidref" use="required"
type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">A reference to an existing bus, as
defined in the 'buses' section of this jbossesb config.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="maxThreads" use="required"
type="xsd:int">
+ <xsd:annotation><xsd:documentation xml:lang="en">The number of
threads which will be started for this
listener.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="is-gateway" use="optional"
type="xsd:boolean" default="false">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">true if the listener is a gateway. A
gateway is an ESB-Unware listener, while a
+ listener is ESB-aware and as such expects jbossesb formatted
messages.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="listener" type="jesb:listener" />
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ JMS Type Implementations.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jms-message-filter">
+ <xsd:annotation><xsd:documentation xml:lang="en">A JMS filter
can add information to a Queue, or Topic. For example you
+ can defined a message-selector. However, you can also push the queue name and type
into this
+ filter given you did not already specify them in the
jms-bus.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="dest-name" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">Name of the
Queue of Topic.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="dest-type" use="required">
+ <xsd:annotation><xsd:documentation xml:lang="en">A Queue
delivers a message once, a topic broadcasts a message to all registered
listeners.</xsd:documentation></xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base = "xsd:NMTOKEN">
+ <xsd:enumeration value = "QUEUE"/>
+ <xsd:enumeration value = "TOPIC"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="selector" type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">A
message-selector allows multiple listeners to register with the same queue/topic, but
+ they will filter on this
message-selector.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation><xsd:documentation xml:lang="en">A JMS-Bus is a
specific instance of a bus using the JMS
protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element ref="jesb:jms-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-provider"
substitutionGroup="jesb:provider">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
instance of a provider, providing JMS.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:attribute name="connection-factory" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The
connection-factory used to lookup queues/topics in a naming directory
(JNDI)</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-context-factory"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The context
factory class the JBossESB will use to do naming
lookups.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-pkg-prefix" type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The
pkg-prefix which will be used to do naming lookups. It is left empty by
default.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-URL" use="required"
type="xsd:anyURI">
+ <xsd:annotation><xsd:documentation xml:lang="en">The URL used
to do naming lookups.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-listener"
substitutionGroup="jesb:listener">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
listener using the jms protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element ref="jesb:jms-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FS Type Implementations.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="fs-message-filter">
+ <xsd:annotation><xsd:documentation xml:lang="en">A FS
filter.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file share
that is monitored for incoming new
files.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix used to filter files targeted for comsumption by the ESB (note: add the dot, so
something like '.esbIn').</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="work-suffix" use="optional"
type="xsd:string" default=".esbInProcess">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix used while the file is being process, so that another thread or process won't
pick it up too.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true, the
file will be deleted after it is processed. Note that in that case post-directory and
post-suffix have no effect.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-directory" use="optional"
type="xsd:string" default="processed">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file share
to which the file will be moved after it is processed by the
ESB</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-suffix" use="optional"
type="xsd:string" default=".esbDone">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix which will be added to the file name after it is
processed.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true, the
file will be deleted if an error occurs during processing. Note that in that case
error-directory and error-suffix have no
effect.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-directory" use="optional"
type="xsd:string" default="processed">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file share
to which the file will be moved after when an error occurs during
processing.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-suffix" use="optional"
type="xsd:string" default=".esbERROR">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix which will be added to the file name after an error occurs during
processing.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation><xsd:documentation xml:lang="en">A Fs-Bus is a
specific instance of a bus using the File
protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element ref="jesb:fs-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-provider"
substitutionGroup="jesb:provider">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
instance of a provider, providing a file system (local fileshare or
NAS).</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-listener"
substitutionGroup="jesb:listener">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
listener using the file protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element ref="jesb:fs-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="poll-frequency-seconds" use="optional"
default="10">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The frequency with which this
listener polls fs in seconds. Defaults to 10 seconds.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:integer">
+ <xsd:minExclusive value="0"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FTP Type Implementations.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="ftp-message-filter">
+ <xsd:annotation><xsd:documentation xml:lang="en">A FTP
filter.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The ftp
directory that is monitored for incoming new
files.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The username
used to access the ftp server</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The password
used to access the ftp server.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix used to filter files targeted for comsumption by the ESB (note: add the dot, so
something like '.esbIn').</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="work-suffix" use="optional"
type="xsd:string" default=".esbInProcess">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix used while the file is being process, so that another thread or process won't
pick it up too.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true, the
file will be deleted after it is processed. Note that in that case post-directory and
post-suffix have no effect.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-directory" use="optional"
type="xsd:string" default="processed">
+ <xsd:annotation><xsd:documentation xml:lang="en">The ftp
directory to which the file will be moved after it is processed by the
ESB</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-suffix" use="optional"
type="xsd:string" default=".esbDone">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix which will be added to the file name after it is
processed.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true, the
file will be deleted if an error occurs during processing. Note that in that case
error-directory and error-suffix have no
effect.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-directory" use="optional"
type="xsd:string" default="processed">
+ <xsd:annotation><xsd:documentation xml:lang="en">The ftp
directory to which the file will be moved after when an error occurs during
processing.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-suffix" use="optional"
type="xsd:string" default=".esbERROR">
+ <xsd:annotation><xsd:documentation xml:lang="en">The file
suffix which will be added to the file name after an error occurs during
processing.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="passive" use="optional"
type="xsd:boolean">
+ <xsd:annotation><xsd:documentation xml:lang="en">This is an ftp
server setting which may vary per
session.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="protocol" use="optional"
default="ftp">
+ <xsd:annotation><xsd:documentation xml:lang="en">The protocol,
can be sftp (SSH File Transfer Protocol), ftps (FTP over SLL) and ftp (to which it
defaults).</xsd:documentation></xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base = "xsd:NMTOKEN">
+ <xsd:enumeration value = "ftp"/>
+ <xsd:enumeration value = "ftps"/>
+ <xsd:enumeration value = "sftp"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="certificate-url" use="optional"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The url to a
certificate, which can be needed for secure protocols (sftp and
ftps).</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation><xsd:documentation xml:lang="en">A FTP-Bus is a
specific instance of a bus using the FTP
protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-provider"
substitutionGroup="jesb:provider">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
instance of a provider, providing a ftp
service.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:attribute name="hostname" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The ftp
hostname, as it can be resolved by DNS.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-listener"
substitutionGroup="jesb:listener">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
listener using the ftp protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="poll-frequency-seconds" use="optional"
default="10">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The frequency with which this
listener polls ftp server in seconds. Defaults to 10 seconds.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:integer">
+ <xsd:minExclusive value="0"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ SQL Type Implementations.
+
88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="sql-message-filter">
+ <xsd:annotation><xsd:documentation xml:lang="en">A SQL
filter.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="tablename" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The table in
which esb message are stored.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="message-id-column" use="optional"
type="xsd:string" default="message_id">
+ <xsd:annotation><xsd:documentation xml:lang="en">A unique key
(PK) in the table.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="message-column" use="optional"
type="xsd:string" default="message">
+ <xsd:annotation><xsd:documentation xml:lang="en">The field that
holds the serialized message.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="status-column" use="optional"
type="xsd:string" default="status">
+ <xsd:annotation><xsd:documentation xml:lang="en">This column
contents ('P', 'W', 'E' or 'D') indicates if the row is
pending (P), in process (W), in error(E) or done (D) if postDelete and/or errorDelete
are 'true' rows might be deleted</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="insert-timestamp-column" use="optional"
type="xsd:string" default="insert_timestamp">
+ <xsd:annotation><xsd:documentation xml:lang="en">Holds the
timestamp when the record was inserted.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true,
records will be deleted after processing.((e.g. no rows with a 'D' for done, in
column defined in
'status_column')</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="error-delete" use="optional"
type="xsd:boolean" default="true">
+ <xsd:annotation><xsd:documentation xml:lang="en">If true,
records in error will be deleted after attempted picked up for processing.(e.g. no rows
with a 'E' for error, in column defined in
'status_column')</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation><xsd:documentation xml:lang="en">A SQL-Bus is a
specific instance of a bus using the SQL
protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element ref="jesb:sql-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-provider"
substitutionGroup="jesb:provider">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
instance of a provider, providing a db
service.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:attribute name="url" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The url
needed to connect to the db.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="driver" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The driver
needed to connect to the db.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" use="required"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The username
used to access the database.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" use="optional"
type="xsd:string">
+ <xsd:annotation><xsd:documentation xml:lang="en">The password
used to access the database.</xsd:documentation></xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-listener"
substitutionGroup="jesb:listener">
+ <xsd:annotation><xsd:documentation xml:lang="en">A specific
listener using the ftp protocol.</xsd:documentation></xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element ref="jesb:sql-message-filter" maxOccurs="1"
minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="poll-frequency-seconds" use="optional"
default="10">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">The frequency with which this
listener polls the db in seconds. Defaults to 10 seconds.</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:integer">
+ <xsd:minExclusive value="0"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+</xsd:schema>
\ No newline at end of file
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core;
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+public class ESBCoreMessages {
+ private static final String BUNDLE_NAME = "org.jboss.tools.esb.core.messages";
//$NON-NLS-1$
+
+ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
+ .getBundle(BUNDLE_NAME);
+
+ private ESBCoreMessages() {
+ }
+
+ public static String getString(String key) {
+ try {
+ return RESOURCE_BUNDLE.getString(key);
+ } catch (MissingResourceException e) {
+ return '!' + key + '!';
+ }
+ }
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ */
+public class ESBCorePlugin extends AbstractUIPlugin {
+ public static final String PLUGIN_ID = "org.jboss.tools.esb.core";
//$NON-NLS-1$
+
+ public ESBCorePlugin() {
+ super();
+ INSTANCE = this;
+ }
+
+ public static void log(String msg) {
+ if(isDebugEnabled()) INSTANCE.getLog().log(new Status(Status.INFO, PLUGIN_ID,
Status.OK, msg, null));
+ }
+
+ public static void log(IStatus status) {
+ if(isDebugEnabled() || !status.isOK()) INSTANCE.getLog().log(status);
+ }
+
+ public static void log(String message, Throwable exception) {
+ INSTANCE.getLog().log(new Status(Status.ERROR, PLUGIN_ID, Status.OK, message,
exception));
+ }
+
+ public static void log(Exception ex) {
+ INSTANCE.getLog().log(new Status(Status.ERROR, PLUGIN_ID, Status.OK,
ESBCoreMessages.getString("ESB_CORE_PLUGIN_NO_MESSAGE"), ex)); //$NON-NLS-1$
+ }
+
+ public static boolean isDebugEnabled() {
+ return INSTANCE.isDebugging();
+ }
+
+ public static ESBCorePlugin getDefault() {
+ return INSTANCE;
+ }
+
+ static ESBCorePlugin INSTANCE = null;
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/messages.properties
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/messages.properties
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/messages.properties 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1 @@
+ESB_CORE_PLUGIN_NO_MESSAGE=No message
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,108 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public interface ESBConstants {
+ public String SCHEMA_101 =
"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd";
//$NON-NLS-1$
+
+ public String SUFF_101 = "101"; //$NON-NLS-1$
+
+ public String ENT_ESB_FILE = "FileESB"; //$NON-NLS-1$
+ public String ENT_ESB_FILE_101 = ENT_ESB_FILE + SUFF_101;
+
+ public String ENT_ESB_PROPERTY = "ESBProperty"; //$NON-NLS-1$
+
+ public String ENT_ESB_PROVIDERS = "ESBProviders101"; //$NON-NLS-1$
+
+ public String ENT_ESB_PROVIDER = "ESBBusProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_JBR_PROVIDER = "ESBJBRProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_SCHEDULE_PROVIDER = "ESBScheduleProvider101";
//$NON-NLS-1$
+ public String ENT_ESB_JMS_PROVIDER = "ESBJMSProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_JCA_PROVIDER = "ESBJCAProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_FS_PROVIDER = "ESBFSProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_FTP_PROVIDER = "ESBFTPProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_SQL_PROVIDER = "ESBSQLProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_HIBERNATE_PROVIDER = "ESBHibernateProvider101";
//$NON-NLS-1$
+
+ public String[] PROVIDERS_101 = {
+ ENT_ESB_PROVIDER,
+ ENT_ESB_JBR_PROVIDER,
+ ENT_ESB_SCHEDULE_PROVIDER,
+ ENT_ESB_JMS_PROVIDER,
+ ENT_ESB_JCA_PROVIDER,
+ ENT_ESB_FS_PROVIDER,
+ ENT_ESB_FTP_PROVIDER,
+ ENT_ESB_SQL_PROVIDER,
+ ENT_ESB_HIBERNATE_PROVIDER,
+ };
+
+
+ public String ENT_ESB_BUS = "ESBBus"; //$NON-NLS-1$
+ public String ENT_ESB_FS_BUS = "ESBFSBus101"; //$NON-NLS-1$
+ public String ENT_ESB_FTP_BUS = "ESBFTPBus101"; //$NON-NLS-1$
+ public String ENT_ESB_JBR_BUS = "ESBJBRBus101"; //$NON-NLS-1$
+ public String ENT_ESB_JMS_BUS = "ESBJMSBus101"; //$NON-NLS-1$
+ public String ENT_ESB_HIBERNATE_BUS = "ESBHibernateBus101"; //$NON-NLS-1$
+ public String ENT_ESB_SQL_BUS = "ESBSQLBus101"; //$NON-NLS-1$
+
+ public String[] BUSES_101 = {
+ ENT_ESB_BUS,
+ ENT_ESB_FS_BUS,
+ ENT_ESB_FTP_BUS,
+ ENT_ESB_JBR_BUS,
+ ENT_ESB_JMS_BUS,
+ ENT_ESB_HIBERNATE_BUS,
+ ENT_ESB_SQL_BUS,
+ };
+
+ public String ENT_ESB_LISTENERS = "ESBListeners101"; //$NON-NLS-1$
+
+ public String ENT_ESB_LISTENER = "ESBListener101"; //$NON-NLS-1$
+ public String ENT_ESB_SH_LISTENER = "ESBScheduledListener101"; //$NON-NLS-1$
+ public String ENT_ESB_GATEWAY = "ESBJCAGateway101"; //$NON-NLS-1$
+ public String ENT_ESB_JMS_LISTENER = "ESBJMSListener101"; //$NON-NLS-1$
+ public String ENT_ESB_FS_LISTENER = "ESBFSListener101"; //$NON-NLS-1$
+ public String ENT_ESB_FTP_LISTENER = "ESBFTPListener101"; //$NON-NLS-1$
+ public String ENT_ESB_SQL_LISTENER = "ESBSQLListener101"; //$NON-NLS-1$
+ public String ENT_ESB_HIB_LISTENER = "ESBHibernateListener101"; //$NON-NLS-1$
+ public String ENT_ESB_JBR_LISTENER = "ESBJBRListener101"; //$NON-NLS-1$
+ public String ENT_ESB_GROOVY_LISTENER = "ESBGroovyListener101"; //$NON-NLS-1$
+
+ public String[] LISTENERS_101 = {
+ ENT_ESB_LISTENER,
+ ENT_ESB_SH_LISTENER,
+ ENT_ESB_GATEWAY,
+ ENT_ESB_JMS_LISTENER,
+ ENT_ESB_FS_LISTENER,
+ ENT_ESB_FTP_LISTENER,
+ ENT_ESB_SQL_LISTENER,
+ ENT_ESB_HIB_LISTENER,
+ ENT_ESB_JBR_LISTENER,
+ ENT_ESB_GROOVY_LISTENER,
+ };
+
+ public String ENT_ESB_SERVICES = "ESBServices101"; //$NON-NLS-1$
+ public String ENT_ESB_SERVICE = "ESBService101"; //$NON-NLS-1$
+
+ public String ENT_ESB_ACTIONS = "ESBActions101"; //$NON-NLS-1$
+ public String ENT_ESB_ACTION = "ESBAction101"; //$NON-NLS-1$
+
+ public String ENT_ESB_SIMPLE_SCHEDULE = "ESBSimpleSchedule101"; //$NON-NLS-1$
+ public String ENT_ESB_CRON_SCHEDULE = "ESBCronSchedule101"; //$NON-NLS-1$
+
+
+ public String ATTR_NAME = "name"; //$NON-NLS-1$
+ public String ATTR_VALUE = "value"; //$NON-NLS-1$
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+import org.jboss.tools.common.model.impl.CustomizedObjectImpl;
+import org.jboss.tools.common.model.impl.RegularChildren;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class ESBCustomizedObjectImpl extends CustomizedObjectImpl {
+ private static final long serialVersionUID = 1L;
+
+ public ESBCustomizedObjectImpl() {}
+
+ protected RegularChildren createChildren() {
+ String children = getModelEntity().getProperty("children");
+ if(children != null && children.equals("%ESBOrdered%")) {
+ return new ESBOrderedChildren();
+ }
+ return super.createChildren();
+ }
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+import java.io.IOException;
+
+import org.jboss.tools.common.model.loaders.EntityRecognizer;
+import org.jboss.tools.common.xml.XMLEntityResolver;
+import org.jboss.tools.esb.core.ESBCorePlugin;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class ESBEntityRecognizer implements EntityRecognizer, ESBConstants {
+
+ public ESBEntityRecognizer() {}
+
+ public String getEntityName(String ext, String body) {
+ if(body == null) return null;
+ if(!isSchema(body)) {
+ return null;
+ }
+
+// int i = body.indexOf("xsi:schemaLocation"); //$NON-NLS-1$
+ int i = body.indexOf("xmlns="); //$NON-NLS-1$
+ if(i < 0) return null;
+ int j = body.indexOf("\"", i); //$NON-NLS-1$
+ if(j < 0) return null;
+ int k = body.indexOf("\"", j + 1); //$NON-NLS-1$
+ if(k < 0) return null;
+ String schemaLocation = body.substring(j + 1, k);
+
+ int i101 = schemaLocation.indexOf("1.0.1"); //$NON-NLS-1$
+ if(i101 >= 0) {
+ return ENT_ESB_FILE_101;
+ }
+ return null;
+ }
+
+ private boolean isSchema(String body) {
+ int i = body.indexOf("<jbossesb"); //$NON-NLS-1$
+ if(i < 0) return false;
+ int j = body.indexOf(">", i); //$NON-NLS-1$
+ if(j < 0) return false;
+ String s = body.substring(i, j);
+ return s.indexOf("\"" + SCHEMA_101 + "\"") > 0;
//$NON-NLS-1$
+ }
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBFileLoader.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBFileLoader.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBFileLoader.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+import org.jboss.tools.common.model.loaders.impl.SimpleWebFileLoader;
+import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class ESBFileLoader extends SimpleWebFileLoader {
+
+ public ESBFileLoader() {}
+
+ protected boolean isCheckingDTD() {
+ return false;
+ }
+
+ protected XModelObjectLoaderUtil createUtil() {
+ return new ESBLoaderUtil();
+ }
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBLoaderUtil.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBLoaderUtil.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBLoaderUtil.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,63 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+import org.jboss.tools.common.meta.XAttribute;
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;
+import org.w3c.dom.Element;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class ESBLoaderUtil extends XModelObjectLoaderUtil {
+
+ public ESBLoaderUtil() {}
+
+ protected boolean isSaveable(XModelEntity entity, String n, String v, String dv) {
+ if(v == null) return false;
+ if(v.length() == 0 || v.equals(dv)) {
+ XAttribute attr = entity.getAttribute(n);
+ return (attr != null &&
"always".equals(attr.getProperty("save"))); //$NON-NLS-1$
//$NON-NLS-2$
+ }
+ return super.isSaveable(entity, n, v, dv);
+ }
+
+
+ public boolean save(Element parent, XModelObject o) {
+ if(!needToSave(o)) return true;
+ return super.save(parent, o);
+ }
+
+ protected boolean needToSave(XModelObject o) {
+ String s = o.getModelEntity().getProperty("saveDefault"); //$NON-NLS-1$
+ if(!"false".equals(s)) return true; //$NON-NLS-1$
+ if(hasSetAttributes(o)) return true;
+ if(o.getChildren().length > 0) return true;
+ return false;
+ }
+
+ private boolean hasSetAttributes(XModelObject o) {
+ XAttribute[] as = o.getModelEntity().getAttributes();
+ for (int i = 0; i < as.length; i++) {
+ String xml = as[i].getXMLName();
+ // it would be more safe to check isSavable
+ if(xml == null || xml.length() == 0 || "NAME".equals(xml)) continue;
//$NON-NLS-1$
+ String v = o.getAttributeValue(as[i].getName());
+ if(v != null && v.length() > 0 &&
!v.equals(as[i].getDefaultValue())) return true;
+ }
+ String finalComment = o.get("#final-comment"); //$NON-NLS-1$
+ if(finalComment != null && finalComment.length() > 0) return true;
+ return false;
+ }
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBOrderedChildren.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBOrderedChildren.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBOrderedChildren.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.esb.core.model;
+
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.impl.GroupOrderedChildren;
+
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class ESBOrderedChildren extends GroupOrderedChildren {
+
+ protected int getGroup(XModelObject o) {
+ if(o != null &&
ESBConstants.ENT_ESB_PROPERTY.equals(o.getModelEntity().getName())) {
+ return 0;
+ }
+ return 1;
+ }
+
+}
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddProviderSupport.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddProviderSupport.java
(rev 0)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddProviderSupport.java 2008-02-18
11:01:29 UTC (rev 6370)
@@ -0,0 +1,74 @@
+package org.jboss.tools.esb.core.model.handlers;
+
+import java.util.Properties;
+import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
+import org.jboss.tools.common.meta.action.impl.handlers.DefaultCreateHandler;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.util.FindObjectHelper;
+
+public class AddProviderSupport extends SpecialWizardSupport {
+ String providerEntity;
+ String busEntity;
+
+ public AddProviderSupport() {}
+
+ protected void reset() {
+ providerEntity = getEntityData()[0].getModelEntity().getName();
+ busEntity = getEntityData()[1].getModelEntity().getName();
+ }
+
+ public String[] getActionNames(int stepId) {
+ if(getStepId() < getEntityData().length - 1) {
+ if(getStepId() == 0) {
+ return new String[]{NEXT, CANCEL};
+ } else {
+ return new String[]{BACK, NEXT, CANCEL};
+ }
+ } else if(getEntityData().length > 0) {
+ return new String[]{BACK, FINISH, CANCEL};
+ }
+ return new String[]{FINISH, CANCEL, HELP};
+ }
+
+ public boolean isActionEnabled(String name) {
+ if(FINISH.equals(name) && getStepId() < getEntityData().length - 1) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public void action(String name) throws Exception {
+ if(FINISH.equals(name)) {
+ execute();
+ setFinished(true);
+ } else if(CANCEL.equals(name)) {
+ setFinished(true);
+ } else if(BACK.equals(name)) {
+ if(getStepId() == 0) return;
+ setStepId(getStepId() - 1);
+ } else if(NEXT.equals(name)) {
+ if(getStepId() >= getEntityData().length - 1) return;
+ setStepId(getStepId() + 1);
+ } else if(HELP.equals(name)) {
+ help();
+ }
+ }
+
+ protected void execute() throws Exception {
+ Properties p0 = extractStepData(0);
+ XModelObject provider = getTarget().getModel().createModelObject(providerEntity, p0);
+
+ Properties p1 = extractStepData(1);
+ XModelObject bus = getTarget().getModel().createModelObject(busEntity, p1);
+
+ provider.addChild(bus);
+
+ DefaultCreateHandler.addCreatedObject(getTarget(), provider,
FindObjectHelper.EVERY_WHERE);
+ }
+
+ public boolean canBeProcessedByStandardWizard() {
+ return true;
+ }
+
+}