User: jung
Date: 00/12/04 04:36:00
Modified: src/org/jboss/zoap Environment.java HttpServer.java
HttpServerMBean.java zoap.dfPackage
Log:
adopted to latest jboss container,
added decimal and date
removed some problems due to forward-referencing in meta-data
added serialisation policy
Revision Changes Path
1.2 +201 -173 zoap/src/org/jboss/zoap/Environment.java
Index: Environment.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/jboss/zoap/Environment.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Environment.java 2000/08/10 21:06:52 1.1
+++ Environment.java 2000/12/04 12:35:59 1.2
@@ -1,176 +1,210 @@
-/*
- * $Id: Environment.java,v 1.1 2000/08/10 21:06:52 jung Exp $
- * Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.jboss.zoap;
-
-import java.util.Properties;
-
-import java.io.PrintStream;
-import java.io.InputStream;
-
-import org.zoap.soap.meta.builtin.DefaultBinding;
-
-import de.infor.ce.util.URN;
-
-
-/**
- * Environment collects all package-local configurations and provides an
- * interface for file-based and method-based access to them
- * @see <related>
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public abstract class Environment {
-
- /** whether DEBUG messages are produced */
-
- public static final boolean DEBUG_ZOAP = true;
-
- /** runtime logging settings */
-
- public static int LOG_ZOAP = 1;
-
- /** compile-time constants */
-
- public final static String PROPERTY = "zoap";
- public final static String CONFIG_FILE = PROPERTY + ".conf";
-
- /** runtime streams */
-
- public final static PrintStream out = System.out;
- public final static InputStream in = System.in;
- public final static PrintStream err = System.err;
-
- /** the port on which the httpService is provided */
- public static int httpPort = 2121;
-
- /** the default binding that will be used by new components */
- public static Class defaultBindingClass = DefaultBinding.class;
-
- /** initialisation is done at class loading time */
- static {
-
- if (DEBUG_ZOAP)
- Environment.out.println("Environment.static initializer");
-
- // clone the system settings
- Properties properties = new Properties(System.getProperties());
-
- try {
-
- // and add your personal configuration file
- properties.load(Thread.currentThread().getContextClassLoader().
- getResourceAsStream(CONFIG_FILE));
-
- } catch (Exception e) {
-
- if (DEBUG_ZOAP || LOG_ZOAP > 0)
- Environment.err.print("Environment.static initializer:
encountered error while loading properties " + e + " maybe config file is lacking.\n");
-
- }
-
- // take the properties from the environment
-
- if (properties.containsKey(PROPERTY + ".httpPort")) {
-
- try {
- httpPort =
Integer.parseInt(properties.getProperty(PROPERTY + ".httpPort"));
- } catch (Exception e) {
-
- if (DEBUG_ZOAP || LOG_ZOAP > 0)
- Environment.err.print("Environment.static
initializer: encountered error while accessing port property " + e + "\n");
-
- }
-
- }
-
- // take the properties from the environment
-
- if (properties.containsKey(PROPERTY + ".defaultBindingClass")) {
-
- try {
- defaultBindingClass = Class.forName(properties.
- getProperty(PROPERTY +
".defaultBindingClass"),true,Thread.currentThread().getContextClassLoader());
- } catch (Exception e) {
-
- if (DEBUG_ZOAP || LOG_ZOAP > 0)
- Environment.err.print("Environment.static
initializer: encountered error while accessing default binding " + e + "\n");
-
- }
-
- }
- } // static
-
-
- // seperateTags
-
-}
-
-/*
+/*
+ * $Id: Environment.java,v 1.2 2000/12/04 12:35:59 jung Exp $
+ * Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+package org.jboss.zoap;
+
+import java.util.Properties;
+
+import java.io.PrintStream;
+import java.io.InputStream;
+
+import de.infor.ce.util.URN;
+
+
+/**
+ * Environment collects all package-local configurations and provides an
+ * interface for file-based and method-based access to them
+ * @see <related>
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public abstract class Environment {
+
+ /**
+ * how this module is called
+ */
+
+ public static final String moduleName="zoap";
+
+ /**
+ * where the resources needed to configure this module are found
+ */
+
+ public static final String resourcePath="./";
+
+ /**
+ * where the resources needed to configure this module are found
+ */
+
+ public static final String configFileSuffix=".conf";
+
+ /**
+ * whether debug messages are produced, compile-time switch
+ */
+
+ public static final int DEBUG_LEVEL=0;
+
+ /**
+ * runtime logging settings
+ */
+
+ public static int LOG_LEVEL=2;
+
+
+ /**
+ * whether a config file is loaded
+ */
+
+ public static final boolean readConfigFile=false;
+
+ /**
+ * runtime streams, can be rerouted
+ */
+
+ public final static PrintStream out=System.out;
+ public final static InputStream in=System.in;
+ public final static PrintStream err=System.err;
+
+ /** the port on which the httpService is provided */
+ public static int httpPort = 2121;
+
+ /**
+ * initialisation is done at class loading time
+ */
+
+ static{
+
+ if(DEBUG_LEVEL>0)
+ out.println(Environment.class.toString()+".static initializer");
+
+ if(readConfigFile) {
+
+ // clone the system settings
+ Properties properties = new Properties(System.getProperties());
+
+ try{
+
+ // and add your personal configuration file
+ properties.load(Thread.currentThread().getContextClassLoader().
+ getResourceAsStream(resourcePath+moduleName+configFileSuffix));
+
+ } catch(Exception e) {
+
+ if(DEBUG_LEVEL>0 || LOG_LEVEL>0)
+ err.println(Environment.class.toString()+".static initializer: "+
+ " encountered "+e+" maybe config file does not exist.");
+
+ }
+
+ if(properties.contains(moduleName+".LOG_LEVEL")) {
+ try{
+ LOG_LEVEL=new
Integer(properties.getProperty(moduleName+".LOG_LEVEL")).intValue();
+ } catch(Exception e) {
+
+ if(DEBUG_LEVEL>0 || LOG_LEVEL>0)
+ err.println(Environment.class.toString()+".static initializer: "+
+ " encountered "+e+" while parsing property LOG_LEVEL.");
+
+
+ }
+ }
+
+
+ if(properties.contains(moduleName+".httpPort")) {
+ try{
+ httpPort=new
Integer(properties.getProperty(moduleName+".httpPort")).intValue();
+ } catch(Exception e) {
+
+ if(DEBUG_LEVEL>0 || LOG_LEVEL>0)
+ err.println(Environment.class.toString()+".static initializer: "+
+ " encountered "+e+" while parsing property httpPort.");
+
+
+ }
+ }
+
+ }
+ } // static
+
+
+
+}
+
+/*
* $Log: Environment.java,v $
- * Revision 1.1 2000/08/10 21:06:52 jung
- * Initial revision
- *
- * Revision 1.1.2.3 2000/08/04 17:20:18 jung
- * close to beta stadium. Meta-Data import now works.
- *
- * Revision 1.1.2.2 2000/07/17 12:46:15 jung
- * refactored package and meta-model
- *
- * Revision 1.1.2.1 2000/07/13 12:46:19 jung
- * package renaming, most of the zoap stuff now under org.zoap
- * util and http stay infor.ce, containerInvoker etc move to org.jboss
- *
- * changed the makefile, adopted most of the licenses
- *
- * Revision 1.1.1.1 2000/07/06 14:11:26 jung
- * Import of a pre beta version of ZOAP source with a new directory structure,
- * ant-based make, apache-kind of license, etc.
- *
- * jars are coming later because of cvs-history reasons.
- *
- * Revision 1.1.1.1 2000/06/19 12:04:12 jung
- * imported ZOAPackage that should
- * go into a seperate Open Source project
- *
- * Revision 1.1.2.2 2000/06/15 14:50:06 jung
- * first SOAP-enabled container runs
- *
- * Revision 1.1.2.1 2000/06/08 17:15:47 jung
- * added initial soap service that uses the infor:X framework.
- *
- * Revision 1.1 2000/06/05 09:16:55 jung
- * added an initial revision of infor:X, the
- * XML (de-)serialisation service of infor:CE.
- *
- * supports meta-data structures, namespaces, schemas.
- *
- * lacks collection support, forward-references, multiple roots
- * and external resolution.
- *
- * Revision 1.2 2000/05/16 15:29:33 jung
- * added initial vbsf support
- *
- * Revision 1.1.1.1 2000/05/15 10:38:34 jung
- * Initial import of the directory structure. Contains templates and a batch file to
- * create API documentation. Also contains the not yet
- * fully running directory service (AFDS).
- */
+ * Revision 1.2 2000/12/04 12:35:59 jung
+ * adopted to latest jboss container,
+ *
+ * added decimal and date
+ *
+ * removed some problems due to forward-referencing in meta-data
+ *
+ * added serialisation policy
+ *
+ * Revision 1.1.1.1 2000/08/10 21:06:52 jung
+ * Initial import.
+ *
+ *
+ * Revision 1.1.2.3 2000/08/04 17:20:18 jung
+ * close to beta stadium. Meta-Data import now works.
+ *
+ * Revision 1.1.2.2 2000/07/17 12:46:15 jung
+ * refactored package and meta-model
+ *
+ * Revision 1.1.2.1 2000/07/13 12:46:19 jung
+ * package renaming, most of the zoap stuff now under org.zoap
+ * util and http stay infor.ce, containerInvoker etc move to org.jboss
+ *
+ * changed the makefile, adopted most of the licenses
+ *
+ * Revision 1.1.1.1 2000/07/06 14:11:26 jung
+ * Import of a pre beta version of ZOAP source with a new directory structure,
+ * ant-based make, apache-kind of license, etc.
+ *
+ * jars are coming later because of cvs-history reasons.
+ *
+ * Revision 1.1.1.1 2000/06/19 12:04:12 jung
+ * imported ZOAPackage that should
+ * go into a seperate Open Source project
+ *
+ * Revision 1.1.2.2 2000/06/15 14:50:06 jung
+ * first SOAP-enabled container runs
+ *
+ * Revision 1.1.2.1 2000/06/08 17:15:47 jung
+ * added initial soap service that uses the infor:X framework.
+ *
+ * Revision 1.1 2000/06/05 09:16:55 jung
+ * added an initial revision of infor:X, the
+ * XML (de-)serialisation service of infor:CE.
+ *
+ * supports meta-data structures, namespaces, schemas.
+ *
+ * lacks collection support, forward-references, multiple roots
+ * and external resolution.
+ *
+ * Revision 1.2 2000/05/16 15:29:33 jung
+ * added initial vbsf support
+ *
+ * Revision 1.1.1.1 2000/05/15 10:38:34 jung
+ * Initial import of the directory structure. Contains templates and a batch file to
+ * create API documentation. Also contains the not yet
+ * fully running directory service (AFDS).
+ */
1.2 +199 -159 zoap/src/org/jboss/zoap/HttpServer.java
Index: HttpServer.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/jboss/zoap/HttpServer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HttpServer.java 2000/08/10 21:06:53 1.1
+++ HttpServer.java 2000/12/04 12:35:59 1.2
@@ -1,159 +1,199 @@
-/*
- * $Id: HttpServer.java,v 1.1 2000/08/10 21:06:53 jung Exp $
- * Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
- * D-66299 Friedrichsthal, Germany. All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.jboss.zoap;
-
-import javax.management.MBeanRegistration;
-import javax.management.MBeanServer;
-import javax.management.ObjectName;
-
-import org.zoap.soap.SoapRouter;
-import org.zoap.soap.SoapDuplicateRegistrationException;
-import org.zoap.soap.SoapNotRegisteredException;
-import org.zoap.soap.SoapMessage;
-import org.zoap.soap.SoapMessageException;
-import org.zoap.soap.SoapObject;
-
-/** JMX/Jboss Service Wrapper around the SOAP HTTP Server */
-
-public class HttpServer implements HttpServerMBean, MBeanRegistration {
-
- /** the wrapped server */
-
- org.zoap.soap.HttpServer server;
-
- /** construct server */
-
- public HttpServer() throws java.net.MalformedURLException,
java.net.UnknownHostException {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + "()\n");
-
- server = new org.zoap.soap.HttpServer(Environment.httpPort);
- }
-
- /** start the server */
-
- public void start() throws java.io.IOException {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".start()\n");
-
- server.start();
- }
-
- /** stop the server */
-
- public void stop() {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".stop()\n");
-
- server.stop();
- }
-
- /** called after the HttpServer is deregistered from JMX. default is to stop
the HttpServer */
-
- public void postDeregister() {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".postDeregister()\n");
-
- server.stop();
- }
-
- /**
- * called after the HttpRegister has been registered in JMX
- * mabye we should restrict registrations to happen only after that state
- */
- public void postRegister(Boolean p0) {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".postDeregister()\n");
-
- }
-
- /** called before the service is deregistered maybe we should lock the server
not accept anymore registrations? */
- public void preDeregister() throws Exception {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".preDeregister()\n");
-
- }
-
- /** called before the service is registered in the MBeanserver with a given
name default is to start the HttpServer */
- public ObjectName preRegister(MBeanServer p0, ObjectName p1) throws Exception {
-
- if (Environment.DEBUG_ZOAP)
- Environment.out.print(toString() + ".preRegister()\n");
-
- server.start();
-
- return new ObjectName(Environment.PROPERTY + ":server=HTTP");
-
- }
-
- public java.net.URL getURL() {
- return server.getURL();
- }
-
- /**
- * register a SOAP object @arg object in the server under the given directory
@directory
- * and return a handle @arg String for its identification.
- */
-
- public void registerSoapRouter(String directory, SoapRouter object)
- throws SoapDuplicateRegistrationException {
- server.registerSoapRouter(directory, object);
- }
-
-
- /** unRegister a SOAP object given its directory */
-
- public void unRegisterSoapRouter(String directory)
- throws SoapNotRegisteredException {
- server.unRegisterSoapRouter(directory);
- }
-
- /**
- * receives a Soapmessage dedicated to the given handle and
- * is provided with a response object that can be filled in order to
synchronously reply
- */
- public void receiveRequest(String handle, SoapMessage msg,
- SoapMessage response)
- throws SoapMessageException {
- server.receiveRequest(handle, msg, response);
- }
-
-
- /** register a SOAP object @arg object in the server and return a handle @arg
String for its identification. */
- public String registerSoapObject(SoapObject object) {
- return server.registerSoapObject(object);
- }
-
-
- /** unRegister a SOAP object given its directory */
- public void unRegisterSoapObject(String handle) throws
SoapNotRegisteredException {
- server.unRegisterSoapObject(handle);
- }
-
-
-
-}
+/*
+ * $Id: HttpServer.java,v 1.2 2000/12/04 12:35:59 jung Exp $
+ * Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
+ * D-66299 Friedrichsthal, Germany. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+package org.jboss.zoap;
+
+import javax.management.MBeanRegistration;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import org.zoap.soap.SoapRouter;
+import org.zoap.soap.SoapServer;
+import org.zoap.soap.SoapDuplicateRegistrationException;
+import org.zoap.soap.SoapNotRegisteredException;
+import org.zoap.soap.SoapMessage;
+import org.zoap.soap.SoapMessageException;
+import org.zoap.soap.SoapObject;
+
+/** JMX/Jboss Service Wrapper around the SOAP HTTP Server */
+
+public class HttpServer implements HttpServerMBean, MBeanRegistration {
+
+ /** the wrapped server */
+
+ org.zoap.soap.HttpServer server;
+
+ /** construct server */
+
+ public HttpServer() throws java.net.MalformedURLException,
java.net.UnknownHostException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + "()\n");
+
+ server = new org.zoap.soap.HttpServer(Environment.httpPort);
+ }
+
+ /** start the server */
+
+ public void start() throws java.io.IOException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".start()\n");
+
+ server.start();
+ }
+
+ /** stop the server */
+
+ public void stop() {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".stop()\n");
+
+ server.stop();
+ }
+
+ /** called after the HttpServer is deregistered from JMX. default is to stop
the HttpServer */
+
+ public void postDeregister() {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".postDeregister()\n");
+
+ server.stop();
+ }
+
+ /**
+ * called after the HttpRegister has been registered in JMX
+ * mabye we should restrict registrations to happen only after that state
+ */
+ public void postRegister(Boolean p0) {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".postDeregister()\n");
+
+ }
+
+ /** called before the service is deregistered maybe we should lock the server
not accept anymore registrations? */
+ public void preDeregister() throws Exception {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".preDeregister()\n");
+
+ }
+
+ /** called before the service is registered in the MBeanserver with a given
name default is to start the HttpServer */
+ public ObjectName preRegister(MBeanServer p0, ObjectName p1) throws Exception {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".preRegister()\n");
+
+ return new ObjectName(Environment.moduleName + ":server=HTTP");
+ }
+
+ public java.net.URL getURL() {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".getURL()\n");
+
+ return server.getURL();
+ }
+
+ /**
+ * register a SOAP object @arg object in the server under the given directory
@directory
+ * and return a handle @arg String for its identification.
+ */
+
+ public void registerSoapRouter(String directory, SoapRouter object)
+ throws SoapDuplicateRegistrationException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".registerSoapRouter(" +
directory + "," + object + ")\n");
+
+ server.registerSoapRouter(directory, object);
+ }
+
+
+ /** unRegister a SOAP object given its directory */
+
+ public void unRegisterSoapRouter(String directory)
+ throws SoapNotRegisteredException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".unRegisterSoapRouter(" +
directory + ")\n");
+
+ server.unRegisterSoapRouter(directory);
+ }
+
+ /**
+ * receives a Soapmessage dedicated to the given handle and
+ * is provided with a response object that can be filled in order to
synchronously reply
+ */
+ public void receiveRequest(String handle, SoapMessage msg,
+ SoapMessage response)
+ throws SoapMessageException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".receiveRequest(" + handle
+ "," + msg + ")\n");
+
+ server.receiveRequest(handle, msg, response);
+ }
+
+
+ /** register a SOAP object @arg object in the server and return a handle @arg
String for its identification. */
+ public String registerSoapObject(SoapObject object) {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".registerSoapObject(" +
object + ")\n");
+
+ return server.registerSoapObject(object);
+ }
+
+
+ /** unRegister a SOAP object given its directory */
+ public void unRegisterSoapObject(String handle) throws
SoapNotRegisteredException {
+
+ if (Environment.DEBUG_LEVEL > 0)
+ Environment.out.print(toString() + ".unRegisterSoapObject(" +
handle + ")\n");
+
+ server.unRegisterSoapObject(handle);
+ }
+
+
+ public SoapObject lookupSoapObject(String handle) {
+ return server.lookupSoapObject(handle);
+ }
+
+
+ public SoapRouter lookupSoapRouter(String directory) {
+ return server.lookupSoapRouter(directory);
+ }
+
+
+ public SoapServer getServer() {
+ return server;
+ }
+
+ public SoapRouter getRouter() {
+ return server;
+ }
+
+
+}
1.2 +28 -28 zoap/src/org/jboss/zoap/HttpServerMBean.java
Index: HttpServerMBean.java
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/jboss/zoap/HttpServerMBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HttpServerMBean.java 2000/08/10 21:06:53 1.1
+++ HttpServerMBean.java 2000/12/04 12:35:59 1.2
@@ -1,5 +1,5 @@
-/*
- * $Id: HttpServerMBean.java,v 1.1 2000/08/10 21:06:53 jung Exp $
+/*
+ * $Id: HttpServerMBean.java,v 1.2 2000/12/04 12:35:59 jung Exp $
* Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12,
* D-66299 Friedrichsthal, Germany. All Rights Reserved.
*
@@ -16,29 +16,29 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-package org.jboss.zoap;
-
-import org.jboss.util.ServiceMBean;
-
-import org.zoap.soap.SoapServer;
-
-
-/**
- * This is the JMX interface of the HttpServer that is exposed for
- * administration. Publishes a part of the SOAP server functionality, as well
- *
- * @see HttpServer
- * @author $Author: jung $
- * @version $Revision: 1.1 $
- */
-
-public interface HttpServerMBean extends SoapServer {
-
- public void start() throws Exception;
-
- public void stop();
-
-}
-
+ */
+
+package org.jboss.zoap;
+
+import org.jboss.util.ServiceMBean;
+
+import org.zoap.soap.SoapServer;
+
+
+/**
+ * This is the JMX interface of the HttpServer that is exposed for
+ * administration. Publishes a part of the SOAP server functionality, as well
+ *
+ * @see HttpServer
+ * @author $Author: jung $
+ * @version $Revision: 1.2 $
+ */
+
+public interface HttpServerMBean extends SoapServer {
+
+ public void start() throws Exception;
+
+ public void stop();
+
+}
+
1.2 +37 -37 zoap/src/org/jboss/zoap/zoap.dfPackage
Index: zoap.dfPackage
===================================================================
RCS file: /products/cvs/ejboss/zoap/src/org/jboss/zoap/zoap.dfPackage,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- zoap.dfPackage 2000/08/10 21:06:53 1.1
+++ zoap.dfPackage 2000/12/04 12:35:59 1.2
@@ -1,37 +1,37 @@
-package iddv9ocblublegcbm7tl9p;
-
-/**
-@version 2.0
-@physicalPackage
-@__modelType diagram
-*/
-class diagram {
-/**
-@__ref <oiref:java#Class#org.jboss.zoap.HttpServerMBean:oiref><oihard>
-@__modelType reference
-*/
-class reference {
-}/**
-@__ref <oiref:java#Class#org.jboss.zoap.HttpServer:oiref><oihard>
-@__modelType reference
-*/
-class reference6 {
-}/**
-@__ref <oiref:java#Class#org.jboss.zoap.Environment:oiref><oihard>
-@__modelType reference
-*/
-class reference1 {
-}}/**
-@__tags
-@shapeType ClassDiagram
-*/
-class __tags {
-}/**
-@__options
-*/
-class __options {
-}/**
-@__positions
-*/
-class __positions {
-}
\ No newline at end of file
+package iddv9ocblublegcbm7tl9p;
+
+/**
+@version 2.0
+@physicalPackage
+@__modelType diagram
+*/
+class diagram {
+/**
+@__ref <oiref:java#Class#org.jboss.zoap.HttpServerMBean:oiref><oihard>
+@__modelType reference
+*/
+class reference {
+}/**
+@__ref <oiref:java#Class#org.jboss.zoap.HttpServer:oiref><oihard>
+@__modelType reference
+*/
+class reference6 {
+}/**
+@__ref <oiref:java#Class#org.jboss.zoap.Environment:oiref><oihard>
+@__modelType reference
+*/
+class reference1 {
+}}/**
+@__tags
+@shapeType ClassDiagram
+*/
+class __tags {
+}/**
+@__options
+*/
+class __options {
+}/**
+@__positions
+*/
+class __positions {
+}