org.apache.ws.jaxme.js.junit

Class MultipleInheritanceTest

public class MultipleInheritanceTest extends TestCase implements Observer

This example demonstrates implementation of multiple inheritance with the ProxyGenerator. The class MyObservableList, an extension of {@link ObservableList}, is a subclass of {@link Observable}, but can also be viewed as a subclass of {@link ArrayList} (or whatever implementation of {@link List} you choose in the constructor. The {@link Observer Observers} are notified whenever an object is added to the list.

Version: $Id: MultipleInheritanceTest.java 231785 2004-02-16 23:39:59Z jochen $

Author: Jochen Wiedmann

Nested Class Summary
classMultipleInheritanceTest.MyObservableList
Constructor Summary
MultipleInheritanceTest(String arg0)
Method Summary
voidtestObserver()
voidupdate(Observable o, Object arg)

Constructor Detail

MultipleInheritanceTest

public MultipleInheritanceTest(String arg0)

Method Detail

testObserver

public void testObserver()

update

public void update(Observable o, Object arg)