robe-admin/src/main/java/io/robe/admin/RobeApplication.java
@Override
    public void initialize(Bootstrap<T> bootstrap) {
        T config = loadConfiguration(bootstrap);
        RobeHibernateBundle<T> hibernateBundle = RobeHibernateBundle.createInstance(
                config.getHibernate().getScanPackages(),
                config.getHibernate().getEntities());

        List<Module> modules = new LinkedList<>();
        modules.add(new HibernateModule(hibernateBundle));
        bootstrap.addBundle(new GuiceBundle<T>(modules, bootstrap.getApplication().getConfigurationClass()));

        bootstrap.addBundle(hibernateBundle);
        bootstrap.addBundle(new TokenAuthBundle<T>());
        bootstrap.addCommand(new InitializeCommand(this, hibernateBundle));
        bootstrap.addBundle(new QuartzBundle<T>());
        bootstrap.addBundle(new MailBundle<T>());
        bootstrap.addBundle(new AdvancedAssetBundle<T>());


    }
@Override
    public void initialize(Bootstrap<T> bootstrap) {
        T config = loadConfiguration(bootstrap);
        RobeHibernateBundle<T> hibernateBundle = RobeHibernateBundle.createInstance(
                config.getHibernate().getScanPackages(),
                config.getHibernate().getEntities());

        List<Module> modules = new LinkedList<>();
        modules.add(new HibernateModule(hibernateBundle));
        bootstrap.addBundle(new GuiceBundle<T>(modules, bootstrap.getApplication().getConfigurationClass()));

        bootstrap.addBundle(hibernateBundle);
        bootstrap.addBundle(new TokenAuthBundle<T>());
        bootstrap.addCommand(new InitializeCommand(this, hibernateBundle));
        bootstrap.addBundle(new QuartzBundle<T>());
        bootstrap.addBundle(new MailBundle<T>());
        bootstrap.addBundle(new AdvancedAssetBundle<T>());


    }
@ Override public void initialize ( Bootstrap < T > bootstrap ) { T config = loadConfiguration ( bootstrap ) ; RobeHibernateBundle < T > hibernateBundle = RobeHibernateBundle . createInstance ( config . getHibernate ( ) . getScanPackages ( ) , config . getHibernate ( ) . getEntities ( ) ) ; List < Module > modules = new LinkedList <> ( ) ; modules . add ( new HibernateModule ( hibernateBundle ) ) ; bootstrap . addBundle ( new GuiceBundle < T > ( modules , bootstrap . getApplication ( ) . getConfigurationClass ( ) ) ) ; bootstrap . addBundle ( hibernateBundle ) ; bootstrap . addBundle ( new TokenAuthBundle < T > ( ) ) ; bootstrap . addCommand ( new InitializeCommand ( this , hibernateBundle ) ) ; bootstrap . addBundle ( new QuartzBundle < T > ( ) ) ; bootstrap . addBundle ( new MailBundle < T > ( ) ) ; bootstrap . addBundle ( new AdvancedAssetBundle < T > ( ) ) ; }
Adds
Hibernate bundle for PROVIDER connection
Asset bundle for io.robe.admin screens and
Class scanners for
<ul>
<li>Entities</li>
<li>HealthChecks</li>
<li>Providers</li>
<li>InjectableProviders</li>
<li>Resources</li>
<li>Tasks</li>
<li>Managed objects</li>
</ul>

@param bootstrap
Adds Hibernate bundle for PROVIDER connection Asset bundle for io . robe . admin screens and Class scanners for <ul > <li > Entities< / li > <li > HealthChecks< / li > <li > Providers< / li > <li > InjectableProviders< / li > <li > Resources< / li > <li > Tasks< / li > <li > Managed objects< / li > < / ul >