Author: supun
Date: Fri Jun 26 23:39:23 2009
New Revision: 40116
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40116

Log:
Adding spring mediator guide

Added:
   trunk/esb/java/docs/xdoc/mediators/spring.xml

Added: trunk/esb/java/docs/xdoc/mediators/spring.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/mediators/spring.xml?pathrev=40116
==============================================================================
--- (empty file)
+++ trunk/esb/java/docs/xdoc/mediators/spring.xml       Fri Jun 26 23:39:23 2009
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+    <title>WSO2 ESB - Spring Mediator </title>
+    <link href="css/esb-docs.css" rel="stylesheet" />
+    <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
+    media="all" />
+  </head>
+  <body>
+    <h2>Spring Mediator</h2>
+    <p>
+      The spring mediator creates an instance of a mediator, which is
+      managed by Spring. This Spring bean must implement the Mediator 
interface for
+      it to act as a Mediator. The key will reference the Spring
+      ApplicationContext/Configuration used for the bean
+    </p>
+    <h3>Syntax</h3>
+    <pre xml:space="preserve"> &lt;spring:spring bean="exampleBean1" 
key="string"/&gt;</pre>
+    <h4>Spring Configuration </h4>
+
+    <p>
+      A Spring configuration could be created as a localEntry or remote 
registry
+      entry providing a URL or a key reference to a Registry. The 
configuration is
+      then created on first use or as necessary (as per registry lookup 
semantics) by
+      the mediators which reference this configuration.
+    </p>
+
+    <pre xml:space="preserve"> &lt;localEntry key="string"/&gt;
+ &lt;localEntry key="string" src="url"/&gt;</pre>
+
+    <p>
+      The name attribute specifies a unique name for the configuration, and the
+      src, key or inlined XML references to the Spring configuration
+    </p>
+    <h3>UI Configuration</h3>
+    <p>
+    <img alt="" 
src="../spring-mediator/docs/images/spring-mediator-screenshot.jpg"/>
+    </p>
+    <p>
+      <strong>Figure1: Spring Mediator</strong>
+    </p>
+
+          
+      <ul>
+        <li>
+          Bean: The name of the bean
+        </li>
+        <li>
+          Key: The registry reference to the spring 
Application-Context/Configuration used for the bean. You can select it by 
clicking
+          the "Registry Keys".
+        </li>
+      </ul>
+    
+  </body>
+</html>
\ No newline at end of file

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to