Exemplo n.º 1
0
 private static void checkForAspectManager() {
   if (aspectManager == null) {
     synchronized (Roma.class) {
       if (aspectManager == null) {
         aspectManager = Roma.component(AspectManager.class);
       }
     }
   }
 }
Exemplo n.º 2
0
 public static SchemaManager schema() {
   if (schemaManager == null) {
     synchronized (Roma.class) {
       if (schemaManager == null) {
         schemaManager = Roma.component(SchemaManager.class);
       }
     }
   }
   return schemaManager;
 }