1   /*
2    * Created on Oct 22, 2003
3    * 
4    * Copyright neotechnologies.org
5    */
6   package functional.performance;
7   /***
8    * @author neil.avery
9    */
10  public class ComponentA implements ComponentAI {
11      ComponentBI compB = null;
12  
13      public ComponentA(ComponentBI compB) {
14          this.compB = compB;
15      }
16  
17      public void doStuff() {
18          System.out.println("ComponentA invocation");
19      }
20  
21      public void doStuffToB() {
22          System.out.println("ComponentA invocation calling onto Bxx");
23          compB.doStuffB();
24      }
25  
26  }