Package org.apache.xindice.client.xmldb.services

Examples of org.apache.xindice.client.xmldb.services.DatabaseInstanceManager


         // Get a Collection reference to pass on to individual commands
         String colstring = normalizeCollectionURI( (String)table.get(XMLTools.COLLECTION),
                                                    (String) table.get(XMLTools.LOCAL) );
         col = DatabaseManager.getCollection( colstring );

         DatabaseInstanceManager man = (DatabaseInstanceManager)col.getService("DatabaseInstanceManager",XMLDBAPIVERSION);

         // Shutdown the server
         man.shutdown();

      } finally {
         if ( col != null ) {
            col.close();
         }
View Full Code Here


            // Get a Collection reference to pass on to individual commands
            String colstring = normalizeCollectionURI((String) table.get(XMLTools.COLLECTION),
                                                      (String) table.get(XMLTools.LOCAL));
            col = DatabaseManager.getCollection(colstring);

            DatabaseInstanceManager man = (DatabaseInstanceManager) col.getService("DatabaseInstanceManager", XMLDBAPIVERSION);

            // Shutdown the server
            man.shutdown();

        } finally {
            if (col != null) {
                col.close();
            }
View Full Code Here

            // Get a Collection reference to pass on to individual commands
            String colstring = normalizeCollectionURI(db, (String) table.get(XMLTools.LOCAL));
            col = DatabaseManager.getCollection(colstring);

            if (col != null) {
                DatabaseInstanceManager man = (DatabaseInstanceManager) col.getService("DatabaseInstanceManager", XMLDBAPIVERSION);

                // Shutdown the server
                man.shutdown();
            }
        } finally {
            if (col != null) {
                col.close();
            }
View Full Code Here

            // Get a Collection reference to pass on to individual commands
            String colstring = normalizeCollectionURI(db, table.getBoolean(XMLTools.LOCAL));
            col = DatabaseManager.getCollection(colstring);

            if (col != null) {
                DatabaseInstanceManager man =
                        (DatabaseInstanceManager) col.getService("DatabaseInstanceManager", XMLDBAPIVERSION);

                // Shutdown the server
                man.shutdown();
            }
        } finally {
            if (col != null) {
                col.close();
            }
View Full Code Here

            // Get a Collection reference to pass on to individual commands
            String colstring = normalizeCollectionURI((String) table.get(XMLTools.COLLECTION),
                                                      (String) table.get(XMLTools.LOCAL));
            col = DatabaseManager.getCollection(colstring);

            DatabaseInstanceManager man = (DatabaseInstanceManager) col.getService("DatabaseInstanceManager", XMLDBAPIVERSION);

            // Shutdown the server
            man.shutdown();
        } finally {
            if (col != null) {
                col.close();
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.xindice.client.xmldb.services.DatabaseInstanceManager

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.