Implementing the Template Method Pattern in Java - BAEL-1289 (#3078)

* Initial Commit

* Added Domain Classes

* Update HighEndComputer.java

* Update StandardComputer.java

* Update TemplateMethodPatternTest.java

* Update parent pom.xml

* Update pom.xml in template-method submodule

* Update readme.md

* Update README.md
This commit is contained in:
Alejandro Gervasio 2017-11-19 16:45:54 -03:00 committed by adamd1985
parent 81aecd936d
commit 2a9570cc1f
3 changed files with 26 additions and 8 deletions

View File

@ -1,3 +1,4 @@
###Relevant Articles:
- [A Guide to the Front Controller Pattern in Java](http://www.baeldung.com/java-front-controller-pattern)
- [Introduction to Intercepting Filter Pattern in Java](http://www.baeldung.com/intercepting-filter-pattern-in-java)
- [Implementing the Template Method Pattern in Java](http://www.baeldung.com/template-method-pattern-in-java)

View File

@ -9,6 +9,7 @@
<modules>
<module>front-controller</module>
<module>intercepting-filter</module>
<module>template-method</module>
</modules>
<parent>

View File

@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.templatemethodpattern</groupId>
<artifactId>templatemethodpattern</artifactId>
<groupId>com.baeldung.templatemethod</groupId>
<artifactId>template-method</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<parent>
<groupId>com.baeldung.patterns</groupId>
<artifactId>patterns-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>junit</groupId>
@ -18,4 +20,18 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>