Skeleton for Object Pool pattern.
This commit is contained in:
		
							
								
								
									
										18
									
								
								object-pool/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								object-pool/pom.xml
									
									
									
									
									
										Normal 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> | ||||||
							
								
								
									
										7
									
								
								object-pool/src/main/java/com/iluwatar/App.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								object-pool/src/main/java/com/iluwatar/App.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  | package com.iluwatar; | ||||||
|  |  | ||||||
|  | public class App { | ||||||
|  | 	 | ||||||
|  |     public static void main( String[] args ) { | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										12
									
								
								object-pool/src/test/java/com/iluwatar/AppTest.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								object-pool/src/test/java/com/iluwatar/AppTest.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | package com.iluwatar; | ||||||
|  |  | ||||||
|  | import org.junit.Test; | ||||||
|  |  | ||||||
|  | public class AppTest { | ||||||
|  | 	 | ||||||
|  | 	@Test | ||||||
|  | 	public void test() { | ||||||
|  | 		String[] args = {}; | ||||||
|  | 		App.main(args); | ||||||
|  | 	} | ||||||
|  | } | ||||||
							
								
								
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -60,6 +60,7 @@ | |||||||
|     <module>resource-acquisition-is-initialization</module> |     <module>resource-acquisition-is-initialization</module> | ||||||
|     <module>thread-pool</module> |     <module>thread-pool</module> | ||||||
|     <module>private-class-data</module> |     <module>private-class-data</module> | ||||||
|  |     <module>object-pool</module> | ||||||
|   </modules> |   </modules> | ||||||
|  |  | ||||||
| 	<dependencyManagement> | 	<dependencyManagement> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user