-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d8a2079
Showing
65 changed files
with
542 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>alpha-module</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-beans</artifactId> | ||
<version>${spring.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-context</artifactId> | ||
<version>${spring.version}</version> | ||
</dependency> | ||
<dependency> | ||
<artifactId>sharedlib</artifactId> | ||
<groupId>com.yskts</groupId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
28 changes: 28 additions & 0 deletions
28
...a-module/src/main/java/com/yskts/multiconfig/alpha/config/AlphaModuleSharedLibConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.alpha.config; | ||
|
||
import com.yskts.multiconfig.sharedlib.config.SharedLibBuilder; | ||
import com.yskts.multiconfig.sharedlib.config.SharedLibClientConfig; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
@Configuration | ||
public class AlphaModuleSharedLibConfig implements SharedLibClientConfig { | ||
|
||
@Override | ||
public String getNamespace() { | ||
return "com.yskts.multiconfig.alpha"; | ||
} | ||
|
||
@Override | ||
public SharedLibBuilder getBuilder() { | ||
return null; | ||
} | ||
|
||
} |
Binary file not shown.
Binary file added
BIN
+801 Bytes
...module/target/classes/com/yskts/multiconfig/alpha/config/AlphaModuleSharedLibConfig.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Tue Apr 16 22:39:04 PDT 2013 | ||
version=develop-SNAPSHOT | ||
groupId=com.yskts | ||
artifactId=alpha-module |
1 change: 1 addition & 0 deletions
1
...module/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
com/yskts/multiconfig/alpha/config/AlphaModuleSharedLibConfig.class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>beta-module</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Tue Apr 16 22:39:04 PDT 2013 | ||
version=develop-SNAPSHOT | ||
groupId=com.yskts | ||
artifactId=beta-module |
Empty file added
0
beta-module/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>delta-module</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Tue Apr 16 22:39:05 PDT 2013 | ||
version=develop-SNAPSHOT | ||
groupId=com.yskts | ||
artifactId=delta-module |
Empty file added
0
...a-module/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>epsilon-module</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Tue Apr 16 22:39:05 PDT 2013 | ||
version=develop-SNAPSHOT | ||
groupId=com.yskts | ||
artifactId=epsilon-module |
Empty file added
0
...n-module/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>gamma-module</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Generated by Maven | ||
#Tue Apr 16 22:39:05 PDT 2013 | ||
version=develop-SNAPSHOT | ||
groupId=com.yskts | ||
artifactId=gamma-module |
Empty file added
0
...a-module/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<spring.version>3.1.3.RELEASE</spring.version> | ||
<j2ee.version>6.0</j2ee.version> | ||
<cglib.version>2.2.2</cglib.version> | ||
<freemarker.version>2.3.19</freemarker.version> | ||
</properties> | ||
|
||
<modules> | ||
<module>sharedlib</module> | ||
<module>alpha-module</module> | ||
<module>beta-module</module> | ||
<module>gamma-module</module> | ||
<module>delta-module</module> | ||
<module>epsilon-module</module> | ||
<module>web</module> | ||
</modules> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?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> | ||
|
||
<parent> | ||
<groupId>com.yskts</groupId> | ||
<artifactId>MultiConfig</artifactId> | ||
<version>develop-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>sharedlib</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.0</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-beans</artifactId> | ||
<version>${spring.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-context</artifactId> | ||
<version>${spring.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</project> | ||
|
13 changes: 13 additions & 0 deletions
13
sharedlib/src/main/java/com/yskts/multiconfig/sharedlib/config/SharedLibBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.sharedlib.config; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
public interface SharedLibBuilder { | ||
public SharedLibComponent build(SharedLibInput input); | ||
} |
14 changes: 14 additions & 0 deletions
14
sharedlib/src/main/java/com/yskts/multiconfig/sharedlib/config/SharedLibClientConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.sharedlib.config; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
public interface SharedLibClientConfig { | ||
public String getNamespace(); | ||
public SharedLibBuilder getBuilder(); | ||
} |
13 changes: 13 additions & 0 deletions
13
sharedlib/src/main/java/com/yskts/multiconfig/sharedlib/config/SharedLibComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.sharedlib.config; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
public interface SharedLibComponent { | ||
|
||
} |
28 changes: 28 additions & 0 deletions
28
sharedlib/src/main/java/com/yskts/multiconfig/sharedlib/config/SharedLibConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.sharedlib.config; | ||
|
||
import java.util.List; | ||
import org.springframework.beans.factory.InitializingBean; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
@Configuration | ||
public class SharedLibConfig implements InitializingBean { | ||
@Autowired | ||
private List<SharedLibClientConfig> clientConfigs; | ||
|
||
@Override | ||
public void afterPropertiesSet() throws Exception { | ||
System.out.println("SCANNING CLIENT CONFIG"); | ||
for(SharedLibClientConfig clientConfig : clientConfigs) { | ||
System.out.println("CLIENT CONFIG NAMESPACE> " + clientConfig.getNamespace()); | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
sharedlib/src/main/java/com/yskts/multiconfig/sharedlib/config/SharedLibInput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.yskts.multiconfig.sharedlib.config; | ||
|
||
/** | ||
* | ||
* @author niwong | ||
*/ | ||
public interface SharedLibInput { | ||
|
||
} |
Binary file added
BIN
+287 Bytes
sharedlib/target/classes/com/yskts/multiconfig/sharedlib/config/SharedLibBuilder.class
Binary file not shown.
Binary file added
BIN
+291 Bytes
sharedlib/target/classes/com/yskts/multiconfig/sharedlib/config/SharedLibClientConfig.class
Binary file not shown.
Binary file added
BIN
+156 Bytes
sharedlib/target/classes/com/yskts/multiconfig/sharedlib/config/SharedLibComponent.class
Binary file not shown.
Binary file added
BIN
+1.65 KB
sharedlib/target/classes/com/yskts/multiconfig/sharedlib/config/SharedLibConfig.class
Binary file not shown.
Binary file added
BIN
+148 Bytes
sharedlib/target/classes/com/yskts/multiconfig/sharedlib/config/SharedLibInput.class
Binary file not shown.
Oops, something went wrong.