Package org.apache.xindice.client.corba.db

Examples of org.apache.xindice.client.corba.db.Database


      // xindice:///db-instance/collection-path
      String collectionName = getCollectionFromURI(uri);
      org.xmldb.api.base.Collection collection = null;
      try {
         Database db = (Database) dbs.get(dbKey);

         collection =
            new CollectionImpl(db.getCollection(collectionName), db, this);
      }
      catch (APIException e) {
         if (e.faultCode == FaultCodes.COL_COLLECTION_NOT_FOUND) {
            return null;
         }
View Full Code Here


   protected void init(String bootstrapURI, String corbaName) throws XMLDBException {
      Properties orbConfig = getOrbConfig();
      try {
         ORB orb = ORB.init(new String[0], orbConfig);

         Database db = null;
        
         // If a naming service is specified we use that to bootstrap
         String namingURI = (String) config.get(CORBA_NAMING_PROP);
         if ( namingURI != null ) {
            Hashtable env = new Hashtable(5, 0.75f);
View Full Code Here

TOP

Related Classes of org.apache.xindice.client.corba.db.Database

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.