KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > message > MessageServer


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.jbossnet.message;
8
9 import org.w3c.dom.Document JavaDoc;
10
11 /** An endpoint that receives an XML document
12  */

13 public class MessageServer
14 {
15    public Document JavaDoc processMessage(Document JavaDoc xmlObject)
16    {
17       System.out.println("processMessage: " + xmlObject.getClass());
18       return xmlObject;
19    }
20 }
21
Popular Tags