Open main menu

CDOT Wiki β

Changes

Template Method

366 bytes added, 18:40, 19 March 2007
Apache Tomcat
The following are portions of the code found in [https://svn.apache.org/repos/asf/tomcat/connectors/trunk/jk/java/org/apache/jk/common/Shm.java[Shm.java]] and
[https://svn.apache.org/repos/asf/tomcat/connectors/trunk/jk/java/org/apache/jk/common/Shm14.java[Shm14.java]]<br/><br/>Looking at the '''Shm14.java''', we can conclude that '''Shm.java''' is the base class while ''''Shm14.java'''' is the subclass. As you can see, Shm also extends to '''JniHandler''', making it a subclass of that class.<pre>// from Shm14.javapublic class Shm14 extends Shm {}</pre><pre>// from Shm.javapublic class Shm extends JniHandler {}</pre>
== References ==
1
edit