KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > aopc > BaseCallable


1 /**************************************************************************************
2  * Copyright (c) Jonas Bon?r, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package test.aopc;
9
10 /**
11  * @author <a HREF="mailto:alex@gnilux.com">Alexandre Vasseur </a>
12  */

13 public abstract class BaseCallable {
14     public String JavaDoc m_logString = "";
15
16     public void debug() {
17 // System.out.println("CallablePrototype.debug");
18
// System.out.println(" this.getClass().getName() = " + this.getClass().getName());
19
// System.out.println(" this.getClass().getClassLoader() = " +
20
// this.getClass().getClassLoader());
21
// System.out.println("logString = " + getLogString());
22
}
23
24     public String JavaDoc getLogString() {
25         return m_logString;
26     }
27
28     public void setLogString(String JavaDoc s) {
29         m_logString = s;
30     }
31
32     public void log(String JavaDoc s) {
33         m_logString += s;
34     }
35 }
Popular Tags