KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > container > test > mocks > MockServiceAImp


1 /**
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5
6 /**
7  * Created by The eXo Platform SARL
8  * Author : Mestrallet Benjamin
9  * benjmestrallet@users.sourceforge.net
10  * Date: Sep 15, 2003
11  * Time: 2:33:02 PM
12  */

13 package org.exoplatform.container.test.mocks;
14
15 import org.picocontainer.Startable;
16
17 public class MockServiceAImp implements MockServiceA{
18
19   MockServiceB service;
20
21   public MockServiceAImp(MockServiceB service) {
22     System.out.println("MockServiceAImp constructor");
23     this.service = service;
24   }
25
26   public void methodServiceA(){
27     System.out.println("Method service A");
28     service.methodServiceB();
29   }
30
31 }
32
Popular Tags