Exemple #1
0
 public ModuleActivator activateApplicationModule(Module module, Container applicationScope) {
   modules.add(module);
   activate(
       module,
       applicationScope,
       Sequences.<Class<? extends Module>>sequence(ModuleDefiner.class)
           .join(applicationModuleClasses));
   return this;
 }
Exemple #2
0
 @SafeVarargs
 public static <T> LogicalPredicate<T> in(final T... items) {
   return in(Sequences.sequence(items));
 }