Package org.apache.derby.iapi.store.raw

Examples of org.apache.derby.iapi.store.raw.RawStoreFactory


    Transaction xact = null;
    try
    {
      Object module = getModuleFromDbName(db_name);

      RawStoreFactory store_module = (RawStoreFactory)
        Monitor.findServiceModule(module, RawStoreFactory.MODULE);

      xact = store_module.startInternalTransaction(ContextService.getFactory().getCurrentContextManager());

      ContainerKey id = new ContainerKey(segmentid, containerid);
      ContainerHandle container =
        xact.openContainer(id,
                   ContainerHandle.MODE_READONLY);
View Full Code Here


      // store the encrypted form in the services.properties
      // file.  Swap the secret key with the encrypted form and
      // put that in the services.properties file.
      AccessFactory af = ((TransactionManager)tc).getAccessManager();

      RawStoreFactory rsf = (RawStoreFactory)
        Monitor.findServiceModule(af, RawStoreFactory.MODULE);

      // remove secret key from properties list if possible
      serviceProperties.remove(Attribute.BOOT_PASSWORD);

      value = rsf.changeBootPassword(serviceProperties, value);
      serviceProperties.put(RawStoreFactory.ENCRYPTED_KEY,value);
      return true;
    }
    else
    {
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.store.raw.RawStoreFactory

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.