コード例 #1
0
ファイル: Roma.java プロジェクト: romaframework/romaframework
 public static <T> boolean existComponent(Class<T> iClass) {
   return RomaApplicationContext.getInstance().getComponentAspect().existComponent(iClass);
 }
コード例 #2
0
ファイル: Roma.java プロジェクト: romaframework/romaframework
 public static boolean existComponent(String iName) {
   return RomaApplicationContext.getInstance().getComponentAspect().existComponent(iName);
 }
コード例 #3
0
ファイル: Roma.java プロジェクト: romaframework/romaframework
 public static <T> T autoComponent(Class<T> iClass) {
   return RomaApplicationContext.getInstance().getComponentAspect().autoComponent(iClass);
 }
コード例 #4
0
ファイル: Roma.java プロジェクト: romaframework/romaframework
 public static <T> T autoComponent(String iName) {
   return RomaApplicationContext.getInstance().getComponentAspect().autoComponent(iName);
 }
コード例 #5
0
ファイル: Roma.java プロジェクト: romaframework/romaframework
 public static <T> T component(Class<T> iClass) {
   if (Utility.getClassName(iClass).endsWith("Aspect")) return aspect(iClass);
   return RomaApplicationContext.getInstance().getComponentAspect().getComponent(iClass);
 }