KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > prose > jvmai > jikesrvm > advice_weaver > JikesRVMProvider


1 package ch.ethz.prose.jvmai.jikesrvm.advice_weaver;
2
3 import ch.ethz.jvmai.JVMAspectInterface;
4 import ch.ethz.jvmai.Provider;
5
6 /**
7  * A provider that uses advice weaving at bytecode level based on the Jikes
8  * RVM.
9  *
10  * @author Johann Gyger
11  */

12 public class JikesRVMProvider extends Provider {
13
14   /**
15    * Aspect interface that supports advice weaving.
16    */

17   protected static AdviceJVMAI aspectInterface;
18
19   public JVMAspectInterface getAspectInterface() {
20     if (aspectInterface == null)
21       aspectInterface = AdviceJVMAI.getInstance();
22
23     return aspectInterface;
24   }
25
26 }
27
Popular Tags