Ignore:
Timestamp:
2001-03-15T11:41:33+13:00 (23 years ago)
Author:
say1
Message:

renamed NzdlIORs to NzdlServiceFactory updated server. update NzdlCollectionIn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/SimpleServer.java

    r2163 r2179  
    3939import org.nzdl.gsdl.service.NzdlServiceClient;
    4040import org.nzdl.gsdl.util.NzdlCorbaFactory;
    41 import org.nzdl.gsdl.util.NzdlIORs;
     41import org.nzdl.gsdl.util.NzdlServiceFactory;
    4242
    4343
     
    6969    corbaComErrorHolder error = NzdlCorbaFactory.createComErrorHolder();
    7070    try{
    71       SimpleClient client = new SimpleClient();
     71      NzdlServiceFactory.caching = true;
     72      NzdlServiceFactory.doMultiple = true;
     73      NzdlServiceFactory.saveDocs = true;
     74     
     75      NzdlServiceClient client = NzdlServiceFactory.createNzdlService();
    7276   
    7377      ORB orb = ORB.init(args, null);
     
    8488      System.err.println(orb.object_to_string(simpleRef));     
    8589     
    86       NzdlIORs.registerIOR(orb.object_to_string(simpleRef));
     90      NzdlServiceFactory.registerIOR(orb.object_to_string(simpleRef));
    8791
    8892      try  {
     
    111115  }
    112116}
     117
     118
     119
     120
     121
     122
Note: See TracChangeset for help on using the changeset viewer.