[jboss-svn-commits] JBL Code SVN: r21081 - in labs/jbossesb/workspace/skeagh: commons/src/main/java and 10 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jul 17 06:05:38 EDT 2008
Author: tfennelly
Date: 2008-07-17 06:05:37 -0400 (Thu, 17 Jul 2008)
New Revision: 21081
Modified:
labs/jbossesb/workspace/skeagh/commons/pom.xml
labs/jbossesb/workspace/skeagh/commons/src/main/java/overview.html
labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/SerializationException.java
labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/Serializer.java
labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/package.html
labs/jbossesb/workspace/skeagh/runtime/src/main/java/overview.html
labs/jbossesb/workspace/skeagh/service-api/pom.xml
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/AddressingContext.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/DeploymentContext.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/ESBContext.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/InvocationContext.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/package.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/InvocationParameters.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/ServiceInvoker.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/package.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/Message.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/doc-files/4.x-to-5.x-devnotes.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/package.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/package.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/ServiceName.java
labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/package.html
labs/jbossesb/workspace/skeagh/service-api/src/main/java/overview.html
Log:
Some more stuff
Modified: labs/jbossesb/workspace/skeagh/commons/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/commons/pom.xml 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/commons/pom.xml 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
<groupId>jboss.jbossesb</groupId>
<artifactId>jbossesb</artifactId>
- <version>5.0</version>
- </parent>
+ <version>5.0</version>
+ </parent>
<name>JBoss ESB - Commons</name>
<groupId>jboss.jbossesb</groupId>
<artifactId>jbossesb-commons</artifactId>
- <version>${jboss.esb.version}</version>
+ <version>${jboss.esb.version}</version>
<url>http://www.jboss.org/jbossesb/</url>
</project>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/commons/src/main/java/overview.html
===================================================================
--- labs/jbossesb/workspace/skeagh/commons/src/main/java/overview.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/commons/src/main/java/overview.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,9 +1,9 @@
<html>
- <head></head>
- <body>
- JBoss ESB - Commons.
+<head></head>
+<body>
+JBoss ESB - Commons.
- <h1>Overview</h1>
- Commonss code used across many ESB modules - utility code etc.
- </body>
+<h1>Overview</h1>
+Commonss code used across many ESB modules - utility code etc.
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/SerializationException.java
===================================================================
--- labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/SerializationException.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/SerializationException.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -21,19 +21,22 @@
/**
* Serialization/Deserialization Exception.
- *
+ *
* @author <a href="mailto:Kevin.Conner at jboss.com">Kevin Conner</a>
* @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class SerializationException extends Exception {
+public class SerializationException extends Exception
+{
- public SerializationException(String message) {
+ public SerializationException(String message)
+ {
super(message);
}
- public SerializationException(String message, Throwable cause) {
+ public SerializationException(String message, Throwable cause)
+ {
super(message, cause);
}
}
Modified: labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/Serializer.java
===================================================================
--- labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/Serializer.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/Serializer.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -23,15 +23,16 @@
/**
* Message Serialization/Deserialization.
- *
+ *
* @author <a href="mailto:Kevin.Conner at jboss.com">Kevin Conner</a>
* @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public interface Serializer {
+public interface Serializer
+{
- public byte[] marshal(Message messageObject) throws SerializationException;
+ public byte[] marshal(Message messageObject) throws SerializationException;
public Message unmarshal(byte[] messageBytes) throws SerializationException;
}
Modified: labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/runtime/src/main/java/org/jboss/esb/serialization/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESB Message Serialization.
+<head></head>
+<body>
+ESB Message Serialization.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/runtime/src/main/java/overview.html
===================================================================
--- labs/jbossesb/workspace/skeagh/runtime/src/main/java/overview.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/runtime/src/main/java/overview.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,9 +1,9 @@
<html>
- <head></head>
- <body>
- JBoss ESB Runtime.
+<head></head>
+<body>
+JBoss ESB Runtime.
- <h1>Overview</h1>
- Core ESB Runtime framework classes.
- </body>
+<h1>Overview</h1>
+Core ESB Runtime framework classes.
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/pom.xml
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/pom.xml 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/pom.xml 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
<groupId>jboss.jbossesb</groupId>
<artifactId>jbossesb</artifactId>
- <version>5.0</version>
- </parent>
+ <version>5.0</version>
+ </parent>
<name>JBoss ESB - Service API</name>
<groupId>jboss.jbossesb</groupId>
<artifactId>jbossesb-service-api</artifactId>
- <version>${jboss.esb.version}</version>
+ <version>${jboss.esb.version}</version>
<url>http://www.jboss.org/jbossesb/</url>
</project>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/AddressingContext.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/AddressingContext.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/AddressingContext.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -29,46 +29,105 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class AddressingContext {
-
+public class AddressingContext
+{
+ /**
+ * "To" ServiceName for the message associated with the current context.
+ */
private ServiceName to;
+ /**
+ * "From" ServiceName for the message associated with the current context.
+ */
private ServiceName from;
+ /**
+ * "ReplyTo" ServiceName for the message associated with the current context.
+ */
private ServiceName replyTo;
+ /**
+ * "FaultTo" ServiceName for the message associated with the current context.
+ */
private ServiceName faultTo;
- public static AddressingContext getAddressingContext() {
+ /**
+ * Get the {@link AddressingContext} associated with the message currently
+ * being processed.
+ * @return The {@link AddressingContext} associated with the message currently
+ * being processed.
+ */
+ public static AddressingContext getAddressingContext()
+ {
return null;
}
- public ServiceName getTo() {
+ /**
+ * Get the "To" address.
+ * @return The "To" address.
+ */
+ public final ServiceName getTo()
+ {
return to;
}
- public void setTo(ServiceName to) {
+ /**
+ * Set the "To" address.
+ * @param to The "To" address.
+ */
+ public final void setTo(final ServiceName to)
+ {
this.to = to;
}
- public ServiceName getFrom() {
+ /**
+ * Get the "From" address.
+ * @return The "From" address.
+ */
+ public final ServiceName getFrom()
+ {
return from;
}
- public void setFrom(ServiceName from) {
+ /**
+ * Set the "To" address.
+ * @param from The "To" address.
+ */
+ public final void setFrom(final ServiceName from)
+ {
this.from = from;
}
- public ServiceName getReplyTo() {
+ /**
+ * Get the "ReplyTo" address.
+ * @return The "ReplyTo" address.
+ */
+ public final ServiceName getReplyTo()
+ {
return replyTo;
}
- public void setReplyTo(ServiceName replyTo) {
+ /**
+ * Set the "To" address.
+ * @param replyTo The "To" address.
+ */
+ public final void setReplyTo(final ServiceName replyTo)
+ {
this.replyTo = replyTo;
}
- public ServiceName getFaultTo() {
+ /**
+ * Get the "FaultTo" address.
+ * @return The "FaultTo" address.
+ */
+ public final ServiceName getFaultTo()
+ {
return faultTo;
}
- public void setFaultTo(ServiceName faultTo) {
+ /**
+ * Set the "To" address.
+ * @param faultTo The "To" address.
+ */
+ public final void setFaultTo(final ServiceName faultTo)
+ {
this.faultTo = faultTo;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/DeploymentContext.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/DeploymentContext.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/DeploymentContext.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -33,23 +33,28 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class DeploymentContext implements ESBContext {
+public class DeploymentContext implements ESBContext
+{
private Map<Object, Object> contextMap = new LinkedHashMap<Object, Object>();
- public static DeploymentContext getDeploymentContext() {
+ public static DeploymentContext getDeploymentContext()
+ {
return null;
}
- public Object get(Object key) {
+ public Object get(Object key)
+ {
return contextMap.get(key);
}
- public void set(Object key, Object value) {
+ public void set(Object key, Object value)
+ {
contextMap.put(key, value);
}
- public Map<Object, Object> getAll() {
+ public Map<Object, Object> getAll()
+ {
return contextMap;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/ESBContext.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/ESBContext.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/ESBContext.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -23,31 +23,35 @@
/**
* ESB Context.
- *
+ *
* @author <a href="mailto:Kevin.Conner at jboss.com">Kevin Conner</a>
* @author <a href="mailto:tcunning at redhat.com">Tom Cunningham</a>
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public interface ESBContext {
+public interface ESBContext
+{
/**
* Get an object from the context.
+ *
* @param key The context object key.
* @return The Object instance, or null if the Object is not bound to the
- * context instance.
+ * context instance.
*/
public Object get(final Object key);
/**
* Set an object on the context.
- * @param key The context object key.
+ *
+ * @param key The context object key.
* @param value The object instance.
*/
public void set(final Object key, final Object value);
/**
* Get all the context objects.
+ *
* @return The context Map.
*/
public Map<Object, Object> getAll();
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/InvocationContext.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/InvocationContext.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/InvocationContext.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -34,23 +34,28 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class InvocationContext implements ESBContext {
+public class InvocationContext implements ESBContext
+{
private Map<Object, Object> contextMap = new LinkedHashMap<Object, Object>();
- public static InvocationContext getInvocationContext() {
+ public static InvocationContext getInvocationContext()
+ {
return null;
}
- public Object get(Object key) {
+ public Object get(Object key)
+ {
return contextMap.get(key);
}
- public void set(Object key, Object value) {
+ public void set(Object key, Object value)
+ {
contextMap.put(key, value);
}
- public Map<Object, Object> getAll() {
+ public Map<Object, Object> getAll()
+ {
return contextMap;
}
@@ -61,10 +66,11 @@
* TODO: Should we have this as a non-static method on this class?
*
* @return The InvocationParameters instance, or null if no
- * InvocationParameters were sent with the {@link org.jboss.esb.message.Message}
- * during the Service Invocation.
+ * InvocationParameters were sent with the {@link org.jboss.esb.message.Message}
+ * during the Service Invocation.
*/
- public static InvocationParameters getInvocationParameters() {
+ public static InvocationParameters getInvocationParameters()
+ {
return null;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/context/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESB Context.
+<head></head>
+<body>
+ESB Context.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/InvocationParameters.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/InvocationParameters.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/InvocationParameters.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -40,19 +40,23 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class InvocationParameters {
+public class InvocationParameters
+{
private Map<String, Object> parameters = new LinkedHashMap<String, Object>();
- public InvocationParameters(Map<String, Object> parameters) {
+ public InvocationParameters(Map<String, Object> parameters)
+ {
this.parameters = parameters;
}
- public Object getParameter(String name) {
+ public Object getParameter(String name)
+ {
return parameters.get(name);
}
- public Map<String, Object> getParameters() {
+ public Map<String, Object> getParameters()
+ {
return parameters;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/ServiceInvoker.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/ServiceInvoker.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/ServiceInvoker.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -19,8 +19,8 @@
*/
package org.jboss.esb.invocation;
+import org.jboss.esb.message.Message;
import org.jboss.esb.service.ServiceName;
-import org.jboss.esb.message.Message;
/**
* Service Invoker.
@@ -30,17 +30,21 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class ServiceInvoker {
+public class ServiceInvoker
+{
- public static ServiceInvoker getServiceInvoker() {
+ public static ServiceInvoker getServiceInvoker()
+ {
return null;
}
- public void send(final ServiceName name, final Message message, final ServiceName responseName) {
+ public void send(final ServiceName name, final Message message, final ServiceName responseName)
+ {
}
- public void sendOneWay(final ServiceName name, final Message message) {
-
+ public void sendOneWay(final ServiceName name, final Message message)
+ {
+
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/invocation/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESB Invocation.
+<head></head>
+<body>
+ESB Invocation.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/Message.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/Message.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/Message.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -19,8 +19,6 @@
*/
package org.jboss.esb.message;
-import org.jboss.esb.invocation.InvocationParameters;
-
import java.util.LinkedHashMap;
import java.util.Map;
@@ -35,40 +33,49 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class Message {
+public class Message
+{
private Object payload;
private Map<String, Object> attachments = new LinkedHashMap<String, Object>();
/**
* Get the primary payload Object.
+ *
* @return The primary payload Object.
*/
- public Object getPayload() {
+ public Object getPayload()
+ {
return payload;
}
/**
* Set the primary payload Object.
+ *
* @param payload The primary payload Object.
*/
- public void setPayload(Object payload) {
+ public void setPayload(Object payload)
+ {
this.payload = payload;
}
/**
* Get the message attachments.
+ *
* @return Message attachments.
*/
- public Map<String, Object> getAttachments() {
+ public Map<String, Object> getAttachments()
+ {
return attachments;
}
/**
* Set the message attachments.
+ *
* @param attachments Message attachments.
*/
- public void setAttachments(Map<String, Object> attachments) {
+ public void setAttachments(Map<String, Object> attachments)
+ {
this.attachments = attachments;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/doc-files/4.x-to-5.x-devnotes.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/doc-files/4.x-to-5.x-devnotes.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/doc-files/4.x-to-5.x-devnotes.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,44 +1,49 @@
<html>
- <head>
- <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" TITLE="Style" />
- </head>
- <body>
- <h2>Notes for JBossESB 4.x Developers Moving to JBossESB 5.x</h2>
- This page contains notes for developers moving from JBossESB 4.x to JBossESB 5.x.
+<head>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" TITLE="Style"/>
+</head>
+<body>
+<h2>Notes for JBossESB 4.x Developers Moving to JBossESB 5.x</h2>
+This page contains notes for developers moving from JBossESB 4.x to JBossESB 5.x.
- <h3 id="message">Message Changes</h3>
- One of the big changes in the 5.x API is the <a href="../Message.html">Message</a>.
- The message in JBossESB 5.x is a simple POJO, contrasting with the complex/confusing
- structure defined in the 4.x API.
- <p/>
- The main points of difference are:
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr class="TableHeadingColor"><th>4.x</th><th>5.x</th></tr>
- <tr>
- <td>Multiple named message payload locations in the message "Body".</td>
- <td>Single "Primary" message payload located directly on the Message (unnamed).
- If your message contains multiple Objects, then the primary payload
- would be a Collection.
- </td>
- </tr>
- <tr>
- <td>Contextual info (e.g. Addressing/Call info) passed around with the Message.</td>
- <td>Contextual info not available on the Message. This information can be
- accessed via the classes defined in the <a href="../../context/package-summary.html">org.jboss.esb.context</a> package.
- </td>
- </tr>
- <tr>
- <td>Contextual information getting stored on the Message, causing "pollution" of
- the Message.
- </td>
- <td>Proper "Context" objects are now available through the <a href="../../context/package-summary.html">org.jboss.esb.context</a>
- package. No need to polute the Message.</td>
- </tr>
- <tr>
- <td>Serialization parameters were defined on the Message.</td>
- <td>Serialization is a completely orthogonal function.</td>
- </tr>
- </table>
+<h3 id="message">Message Changes</h3>
+One of the big changes in the 5.x API is the <a href="../Message.html">Message</a>.
+The message in JBossESB 5.x is a simple POJO, contrasting with the complex/confusing
+structure defined in the 4.x API.
+<p/>
+The main points of difference are:
+<table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr class="TableHeadingColor">
+ <th>4.x</th>
+ <th>5.x</th>
+ </tr>
+ <tr>
+ <td>Multiple named message payload locations in the message "Body".</td>
+ <td>Single "Primary" message payload located directly on the Message (unnamed).
+ If your message contains multiple Objects, then the primary payload
+ would be a Collection.
+ </td>
+ </tr>
+ <tr>
+ <td>Contextual info (e.g. Addressing/Call info) passed around with the Message.</td>
+ <td>Contextual info not available on the Message. This information can be
+ accessed via the classes defined in the <a
+ href="../../context/package-summary.html">org.jboss.esb.context</a> package.
+ </td>
+ </tr>
+ <tr>
+ <td>Contextual information getting stored on the Message, causing "pollution" of
+ the Message.
+ </td>
+ <td>Proper "Context" objects are now available through the <a href="../../context/package-summary.html">org.jboss.esb.context</a>
+ package. No need to polute the Message.
+ </td>
+ </tr>
+ <tr>
+ <td>Serialization parameters were defined on the Message.</td>
+ <td>Serialization is a completely orthogonal function.</td>
+ </tr>
+</table>
- </body>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/message/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESB Message.
+<head></head>
+<body>
+ESB Message.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESb Service.
+<head></head>
+<body>
+ESb Service.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/ServiceName.java
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/ServiceName.java 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/ServiceName.java 2008-07-17 10:05:37 UTC (rev 21081)
@@ -27,21 +27,25 @@
* @author <a href="mailto:dbevenius at redhat.com">Daniel Bevenius</a>
* @author <a href="mailto:tom.fennelly at jboss.com">Tom Fennelly</a>
*/
-public class ServiceName {
-
+public class ServiceName
+{
+
private final String category;
private final String name;
- public ServiceName(final String category, final String name) {
+ public ServiceName(final String category, final String name)
+ {
this.category = category;
this.name = name;
}
- public String getCategory() {
+ public String getCategory()
+ {
return category;
}
- public String getName() {
+ public String getName()
+ {
return name;
}
}
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/package.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/package.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/org/jboss/esb/service/package.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,8 +1,8 @@
<html>
- <head></head>
- <body>
- ESb Service.
+<head></head>
+<body>
+ESb Service.
- <h2>Package Specification</h2>
- </body>
+<h2>Package Specification</h2>
+</body>
</html>
\ No newline at end of file
Modified: labs/jbossesb/workspace/skeagh/service-api/src/main/java/overview.html
===================================================================
--- labs/jbossesb/workspace/skeagh/service-api/src/main/java/overview.html 2008-07-17 06:10:16 UTC (rev 21080)
+++ labs/jbossesb/workspace/skeagh/service-api/src/main/java/overview.html 2008-07-17 10:05:37 UTC (rev 21081)
@@ -1,9 +1,9 @@
<html>
- <head></head>
- <body>
- JBoss ESB - Service API.
+<head></head>
+<body>
+JBoss ESB - Service API.
- <h1>Overview</h1>
- This is the Core Service API for JBoss ESB.
- </body>
+<h1>Overview</h1>
+This is the Core Service API for JBoss ESB.
+</body>
</html>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list