示例#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);
 }