juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/src/java/org/apache/juddi/function FindPublisherFunction.java GetPublisherAssertionsFunction.java SaveTModelFunction.java SaveBusinessFunction.java DiscardAuthTokenFunction.java GetTModelDetailFunction.java GetServiceDetailFunction.java DeleteTModelFunction.java DeleteServiceFunction.java GetAssertionStatusReportFunction.java FindServiceFunction.java GetRegisteredInfoFunction.java GetAuthTokenFunction.java SaveServiceFunction.java FindTModelFunction.java DeletePublisherFunction.java GetBusinessDetailFunction.java SetPublisherAssertionsFunction.java FindRelatedBusinessesFunction.java GetBindingDetailFunction.java GetPublisherDetailFunction.java AddPublisherAssertionsFunction.java GetBusinessDetailExtFunction.java FindBusinessFunction.java DeletePublisherAssertionsFunction.java SaveBindingFunction.java FindBindingFunction.java ValidateValuesFunction.java DeleteBusinessFunction.java DeleteBindingFunction.java SavePublisherFunction.java
Date Mon, 05 Apr 2004 05:37:59 GMT
sviens      2004/04/04 22:37:59

  Modified:    src/java/org/apache/juddi/function
                        FindPublisherFunction.java
                        GetPublisherAssertionsFunction.java
                        SaveTModelFunction.java SaveBusinessFunction.java
                        DiscardAuthTokenFunction.java
                        GetTModelDetailFunction.java
                        GetServiceDetailFunction.java
                        DeleteTModelFunction.java
                        DeleteServiceFunction.java
                        GetAssertionStatusReportFunction.java
                        FindServiceFunction.java
                        GetRegisteredInfoFunction.java
                        GetAuthTokenFunction.java SaveServiceFunction.java
                        FindTModelFunction.java
                        DeletePublisherFunction.java
                        GetBusinessDetailFunction.java
                        SetPublisherAssertionsFunction.java
                        FindRelatedBusinessesFunction.java
                        GetBindingDetailFunction.java
                        GetPublisherDetailFunction.java
                        AddPublisherAssertionsFunction.java
                        GetBusinessDetailExtFunction.java
                        FindBusinessFunction.java
                        DeletePublisherAssertionsFunction.java
                        SaveBindingFunction.java FindBindingFunction.java
                        ValidateValuesFunction.java
                        DeleteBusinessFunction.java
                        DeleteBindingFunction.java
                        SavePublisherFunction.java
  Log:
  Updated the test driver (main) method.
  
  Revision  Changes    Path
  1.4       +17 -0     ws-juddi/src/java/org/apache/juddi/function/FindPublisherFunction.java
  
  Index: FindPublisherFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindPublisherFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindPublisherFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindPublisherFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -201,5 +201,22 @@
   
     public static void main(String[] args)
     {
  +    // initialize the registry
  +    RegistryEngine reg = new RegistryEngine();
  +    reg.init();
  +
  +    try
  +    {
  +    }
  +    catch (Exception ex)
  +    {
  +      // write execption to the console
  +      ex.printStackTrace();
  +    }
  +    finally
  +    {
  +      // destroy the registry
  +      reg.dispose();
  +    }
     }
   }
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetPublisherAssertionsFunction.java
  
  Index: GetPublisherAssertionsFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetPublisherAssertionsFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetPublisherAssertionsFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetPublisherAssertionsFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -112,7 +112,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SaveTModelFunction.java
  
  Index: SaveTModelFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SaveTModelFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SaveTModelFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SaveTModelFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -159,7 +159,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SaveBusinessFunction.java
  
  Index: SaveBusinessFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SaveBusinessFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SaveBusinessFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SaveBusinessFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -268,7 +268,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DiscardAuthTokenFunction.java
  
  Index: DiscardAuthTokenFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DiscardAuthTokenFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DiscardAuthTokenFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DiscardAuthTokenFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -118,7 +118,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetTModelDetailFunction.java
  
  Index: GetTModelDetailFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetTModelDetailFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetTModelDetailFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetTModelDetailFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -120,7 +120,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetServiceDetailFunction.java
  
  Index: GetServiceDetailFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetServiceDetailFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetServiceDetailFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetServiceDetailFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -121,7 +121,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DeleteTModelFunction.java
  
  Index: DeleteTModelFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeleteTModelFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeleteTModelFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeleteTModelFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -143,7 +143,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DeleteServiceFunction.java
  
  Index: DeleteServiceFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeleteServiceFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeleteServiceFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeleteServiceFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -141,7 +141,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetAssertionStatusReportFunction.java
  
  Index: GetAssertionStatusReportFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetAssertionStatusReportFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetAssertionStatusReportFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetAssertionStatusReportFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -113,7 +113,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindServiceFunction.java
  
  Index: FindServiceFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindServiceFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindServiceFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindServiceFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -211,7 +211,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetRegisteredInfoFunction.java
  
  Index: GetRegisteredInfoFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetRegisteredInfoFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetRegisteredInfoFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetRegisteredInfoFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -148,7 +148,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetAuthTokenFunction.java
  
  Index: GetAuthTokenFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetAuthTokenFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetAuthTokenFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetAuthTokenFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -125,7 +125,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    RegistryEngine reg = RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SaveServiceFunction.java
  
  Index: SaveServiceFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SaveServiceFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SaveServiceFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SaveServiceFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -165,7 +165,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindTModelFunction.java
  
  Index: FindTModelFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindTModelFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindTModelFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindTModelFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -198,7 +198,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +17 -0     ws-juddi/src/java/org/apache/juddi/function/DeletePublisherFunction.java
  
  Index: DeletePublisherFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeletePublisherFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeletePublisherFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeletePublisherFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -142,5 +142,22 @@
   
     public static void main(String[] args)
     {
  +    // initialize the registry
  +    RegistryEngine reg = new RegistryEngine();
  +    reg.init();
  +
  +    try
  +    {
  +    }
  +    catch (Exception ex)
  +    {
  +      // write execption to the console
  +      ex.printStackTrace();
  +    }
  +    finally
  +    {
  +      // destroy the registry
  +      reg.dispose();
  +    }
     }
   }
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetBusinessDetailFunction.java
  
  Index: GetBusinessDetailFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetBusinessDetailFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetBusinessDetailFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetBusinessDetailFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -120,7 +120,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SetPublisherAssertionsFunction.java
  
  Index: SetPublisherAssertionsFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SetPublisherAssertionsFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SetPublisherAssertionsFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SetPublisherAssertionsFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -113,7 +113,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindRelatedBusinessesFunction.java
  
  Index: FindRelatedBusinessesFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindRelatedBusinessesFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindRelatedBusinessesFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindRelatedBusinessesFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -133,7 +133,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetBindingDetailFunction.java
  
  Index: GetBindingDetailFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetBindingDetailFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetBindingDetailFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetBindingDetailFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -122,7 +122,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +17 -0     ws-juddi/src/java/org/apache/juddi/function/GetPublisherDetailFunction.java
  
  Index: GetPublisherDetailFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetPublisherDetailFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetPublisherDetailFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetPublisherDetailFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -120,5 +120,22 @@
   
     public static void main(String[] args)
     {
  +    // initialize the registry
  +    RegistryEngine reg = new RegistryEngine();
  +    reg.init();
  +
  +    try
  +    {
  +    }
  +    catch (Exception ex)
  +    {
  +      // write execption to the console
  +      ex.printStackTrace();
  +    }
  +    finally
  +    {
  +      // destroy the registry
  +      reg.dispose();
  +    }
     }
   }
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/AddPublisherAssertionsFunction.java
  
  Index: AddPublisherAssertionsFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/AddPublisherAssertionsFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AddPublisherAssertionsFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ AddPublisherAssertionsFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -169,7 +169,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/GetBusinessDetailExtFunction.java
  
  Index: GetBusinessDetailExtFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/GetBusinessDetailExtFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetBusinessDetailExtFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ GetBusinessDetailExtFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -126,7 +126,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindBusinessFunction.java
  
  Index: FindBusinessFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindBusinessFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindBusinessFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindBusinessFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -251,7 +251,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DeletePublisherAssertionsFunction.java
  
  Index: DeletePublisherAssertionsFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeletePublisherAssertionsFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeletePublisherAssertionsFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeletePublisherAssertionsFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -129,7 +129,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SaveBindingFunction.java
  
  Index: SaveBindingFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SaveBindingFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SaveBindingFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SaveBindingFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -155,7 +155,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindBindingFunction.java
  
  Index: FindBindingFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindBindingFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FindBindingFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ FindBindingFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -181,7 +181,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/ValidateValuesFunction.java
  
  Index: ValidateValuesFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/ValidateValuesFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ValidateValuesFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ ValidateValuesFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -109,7 +109,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DeleteBusinessFunction.java
  
  Index: DeleteBusinessFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeleteBusinessFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeleteBusinessFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeleteBusinessFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -139,7 +139,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/function/DeleteBindingFunction.java
  
  Index: DeleteBindingFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/DeleteBindingFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DeleteBindingFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ DeleteBindingFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -143,7 +143,7 @@
     public static void main(String[] args)
     {
       // initialize the registry
  -    org.apache.juddi.registry.RegistryEngine reg = org.apache.juddi.registry.RegistryEngine.getInstance();
  +    RegistryEngine reg = new RegistryEngine();
       reg.init();
   
       try
  
  
  
  1.4       +17 -0     ws-juddi/src/java/org/apache/juddi/function/SavePublisherFunction.java
  
  Index: SavePublisherFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SavePublisherFunction.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SavePublisherFunction.java	4 Apr 2004 15:22:43 -0000	1.3
  +++ SavePublisherFunction.java	5 Apr 2004 05:37:58 -0000	1.4
  @@ -132,5 +132,22 @@
   
     public static void main(String[] args)
     {
  +    // initialize the registry
  +    RegistryEngine reg = new RegistryEngine();
  +    reg.init();
  +
  +    try
  +    {
  +    }
  +    catch (Exception ex)
  +    {
  +      // write execption to the console
  +      ex.printStackTrace();
  +    }
  +    finally
  +    {
  +      // destroy the registry
  +      reg.dispose();
  +    }
     }
   }
  
  
  

Mime
View raw message