Examples of MetaInfoManager


Examples of com.avaje.ebean.meta.MetaInfoManager

   
    ResetBasicData.reset();
   
    EbeanServer server = Ebean.getServer(null);
   
    MetaInfoManager infoManager = server.getMetaInfoManager();
   
   
    server.find(Order.class).findRowCount();
   
    infoManager.collectNodeStatistics(true);
    infoManager.collectQueryPlanStatistics(true);

    runFindOrderQuery(server);
    runFindCustomerQuery(server);

    System.out.println("============================================================");

    List<MetaObjectGraphNodeStats> nodeStatistics = infoManager.collectNodeStatistics(true);
    for (MetaObjectGraphNodeStats stat : nodeStatistics) {
      System.out.println("-----------");
      System.out.println(stat);
    }

    System.out.println("============================================================");
   
    List<MetaQueryPlanStatistic> planStatistics = infoManager.collectQueryPlanStatistics(true);
    for (MetaQueryPlanStatistic planStatistic : planStatistics) {
      System.out.println("------------");
      System.out.println(planStatistic);
      System.out.println(planStatistic.getSql());
    }
View Full Code Here

Examples of org.apache.avalon.fortress.MetaInfoManager

     * KeelURLClassloader provides for classes. But,
     * java.lang.Classpath doesn't let one override the fact that
     * resources gotten via the load.getResources() is always looked up
     * from the parent loader in addition to the current loader.
     */
    final MetaInfoManager metaManager = createMetaManager(loader);

    c.put(MetaInfoManager.ROLE, metaManager);
    /*
     * Put a logger manager in the Context. NOTE: getLoggerManager()
     * needs a context set in the first place
View Full Code Here

Examples of org.apache.avalon.fortress.MetaInfoManager

       * keel-server needs its own sandboxed classpath, which KeelURLClassloader
       * provides for classes.  But, java.lang.Classpath doesn't let one
       * override the fact that resources gotten via the load.getResources() is
       * always looked up from the parent loader in addition to the current loader.
       */
      final MetaInfoManager metaManager = createMetaManager(loader);

      c.put(MetaInfoManager.ROLE, metaManager);

      /*
       * Put a logger manager in the Context.
View Full Code Here

Examples of org.apache.avalon.fortress.MetaInfoManager

                newRoleManager.initialize();

                roleManager = newRoleManager;
            }

            final MetaInfoManager mim;
            // if we use the ecm role manager then we don't wrap it inside a service meta manager!
            if ( roleManager instanceof ECMRoleManager )
            {
                final ECMMetaInfoManager metaManager =
                    new ECMMetaInfoManager( new Role2MetaInfoManager( roleManager ), classLoader );
View Full Code Here

Examples of org.apache.avalon.fortress.MetaInfoManager

                newRoleManager.initialize();

                roleManager = newRoleManager;
            }

            final MetaInfoManager mim;
            // if we use the ecm role manager then we don't wrap it inside a service meta manager!
            if ( roleManager instanceof ECMRoleManager )
            {
                final ECMMetaInfoManager metaManager =
                    new ECMMetaInfoManager( new Role2MetaInfoManager( roleManager ), classLoader );
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.