Exemplo n.º 1
0
 public static ISailsApplication configured(ISailsApplicationConfigurator configurator) {
   SailsApplication application = new SailsApplication();
   SailsApplicationConfiguratorFixture.configure(application, configurator);
   return application;
 }
Exemplo n.º 2
0
 /**
  * @return an ISailsApplication configured by {@link
  *     SailsApplicationConfiguratorFixture#configure(IConfigurableSailsApplication)}
  */
 public static ISailsApplication basic() {
   SailsApplication application = new SailsApplication();
   SailsApplicationConfiguratorFixture.configure(application);
   return application;
 }