Пример #1
0
 public static <T> boolean existComponent(Class<T> iClass) {
   return RomaApplicationContext.getInstance().getComponentAspect().existComponent(iClass);
 }
Пример #2
0
 public static boolean existComponent(String iName) {
   return RomaApplicationContext.getInstance().getComponentAspect().existComponent(iName);
 }
Пример #3
0
 public static <T> T autoComponent(Class<T> iClass) {
   return RomaApplicationContext.getInstance().getComponentAspect().autoComponent(iClass);
 }
Пример #4
0
 public static <T> T autoComponent(String iName) {
   return RomaApplicationContext.getInstance().getComponentAspect().autoComponent(iName);
 }
Пример #5
0
 public static <T> T component(Class<T> iClass) {
   if (Utility.getClassName(iClass).endsWith("Aspect")) return aspect(iClass);
   return RomaApplicationContext.getInstance().getComponentAspect().getComponent(iClass);
 }