Examples of knownClasses()


Examples of com.db4o.ext.ExtObjectContainer.knownClasses()

   * @param oc the session ref to the target db to clear
   */
  private static void clearDb4oDb(ObjectContainer oc) {
    if(oc == null) return;
    final ExtObjectContainer s = oc.ext();
    final ReflectClass[] rcs = s.knownClasses();
    if(rcs != null) {
      for(final ReflectClass rc : rcs) {
        if(rc.getDelegate() instanceof JdkClass) {
          final Class<?> objType = ((JdkClass) rc.getDelegate()).getJavaClass();
          final String cn = objType.getName();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.