axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels" <gdani...@macromedia.com>
Subject Re: cvs commit: xml-axis/java/src/org/apache/axis/deployment DeploymentRegistry.java SimpleDeploymentManager.java
Date Wed, 07 Nov 2001 12:49:40 GMT
Doug - FYI, I've just completely revamped the WSDD code so it no longer
keeps the internal DOM stuff anymore.  Instead it uses DOM to generate the
various WSDD objects, and then regenerates the doc when asked by using our
SerializationContext.  I'm working out the kinks, will check it in this
afternoon.  If you could hold off a bit on WSDD work, you'll probably like
things MUCH better in a little while.

--Glen

----- Original Message -----
From: <dug@apache.org>
To: <xml-axis-cvs@apache.org>
Sent: Wednesday, November 07, 2001 7:26 AM
Subject: cvs commit: xml-axis/java/src/org/apache/axis/deployment
DeploymentRegistry.java SimpleDeploymentManager.java


> dug         01/11/07 04:26:52
>
>   Modified:    java/src/org/apache/axis AxisEngine.java
>                java/src/org/apache/axis/deployment DeploymentRegistry.java
>                         SimpleDeploymentManager.java
>   Log:
>   Actually make undeploy of services/transport do something.
>   Still not complete - this will remove it from the hashtables
>   but apparrently that's not good enough.  There's a *DOM* document
>   that needs to be updated and kept insync.  So now I'm off to
>   figure out how the h*ll to do that one.  Yup - much cleaner.  8-b
>
>   Revision  Changes    Path
>   1.44      +3 -3      xml-axis/java/src/org/apache/axis/AxisEngine.java
>
>   Index: AxisEngine.java
>   ===================================================================
>   RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/AxisEngine.java,v
>   retrieving revision 1.43
>   retrieving revision 1.44
>   diff -u -r1.43 -r1.44
>   --- AxisEngine.java 2001/11/06 14:09:07 1.43
>   +++ AxisEngine.java 2001/11/07 12:26:52 1.44
>   @@ -368,7 +368,7 @@
>
>            myRegistry.deployHandler(newService);
>
>   -        myRegistry.deployService(new SimpleHandler(new QName(null,
key),
>   +        myRegistry.deployService(new SimpleHandler(new QName("", key),
>                                                       service));
>        }
>
>   @@ -378,7 +378,7 @@
>        public void undeployService(String key)
>            throws DeploymentException
>        {
>   -        myRegistry.removeDeployedItem(new QName("", key));
>   +        myRegistry.undeployService(new QName("", key));
>        }
>
>        /**
>   @@ -398,7 +398,7 @@
>        public void undeployTransport(String key)
>            throws DeploymentException
>        {
>   -        myRegistry.removeDeployedItem(new QName("", key));
>   +        myRegistry.undeployTransport(new QName("", key));
>        }
>
>        /**
>
>
>
>   1.15      +16 -0
xml-axis/java/src/org/apache/axis/deployment/DeploymentRegistry.java
>
>   Index: DeploymentRegistry.java
>   ===================================================================
>   RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/deployment/DeploymentRegistry.ja
va,v
>   retrieving revision 1.14
>   retrieving revision 1.15
>   diff -u -r1.14 -r1.15
>   --- DeploymentRegistry.java 2001/10/31 23:50:19 1.14
>   +++ DeploymentRegistry.java 2001/11/07 12:26:52 1.15
>   @@ -195,6 +195,22 @@
>            throws DeploymentException;
>
>        /**
>   +     * remove the given item
>   +     * @param qname XXX
>   +     * @throws DeploymentException XXX
>   +     */
>   +    public abstract void undeployService(QName qname)
>   +        throws DeploymentException;
>   +
>   +    /**
>   +     * remove the given item
>   +     * @param qname XXX
>   +     * @throws DeploymentException XXX
>   +     */
>   +    public abstract void undeployTransport(QName qname)
>   +        throws DeploymentException;
>   +
>   +    /**
>         * set the global configuration for the axis engine
>         * @param global XXX
>         */
>
>
>
>   1.17      +22 -0
xml-axis/java/src/org/apache/axis/deployment/SimpleDeploymentManager.java
>
>   Index: SimpleDeploymentManager.java
>   ===================================================================
>   RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/deployment/SimpleDeploymentManag
er.java,v
>   retrieving revision 1.16
>   retrieving revision 1.17
>   diff -u -r1.16 -r1.17
>   --- SimpleDeploymentManager.java 2001/10/31 23:50:19 1.16
>   +++ SimpleDeploymentManager.java 2001/11/07 12:26:52 1.17
>   @@ -275,6 +275,28 @@
>
>
>        /**
>   +     * remove the given item
>   +     * @param qname XXX
>   +     * @throws DeploymentException XXX
>   +     */
>   +    public void undeployService(QName qname)
>   +        throws DeploymentException
>   +    {
>   +        services.remove(qname);
>   +    }
>   +
>   +    /**
>   +     * remove the given item
>   +     * @param qname XXX
>   +     * @throws DeploymentException XXX
>   +     */
>   +    public void undeployTransport(QName qname)
>   +        throws DeploymentException
>   +    {
>   +        transports.remove(qname);
>   +    }
>   +
>   +    /**
>         * return the named mapping registry
>         * @param encodingStyle XXX
>         * @return XXX
>
>
>
>


Mime
View raw message