Skeleton for Object Pool pattern.

This commit is contained in:
Ilkka Seppälä 2015-05-24 13:18:08 +03:00
parent 8656e954bd
commit ff4145dba5
4 changed files with 38 additions and 0 deletions

18
object-pool/pom.xml Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.iluwatar</groupId>
<artifactId>java-design-patterns</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>object-pool</artifactId>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,7 @@
package com.iluwatar;
public class App {
public static void main( String[] args ) {
}
}

View File

@ -0,0 +1,12 @@
package com.iluwatar;
import org.junit.Test;
public class AppTest {
@Test
public void test() {
String[] args = {};
App.main(args);
}
}

View File

@ -60,6 +60,7 @@
<module>resource-acquisition-is-initialization</module>
<module>thread-pool</module>
<module>private-class-data</module>
<module>object-pool</module>
</modules>
<dependencyManagement>