[forge/core] 4ed74e: Add JavaResourceGenerator, and refactor ResourceFa...
by Lincoln.Baxter@lists.jboss.org
Branch: refs/heads/2.0
Home: https://github.com/forge/core
Commit: 4ed74e8da159fb31236b4d54b92967c6b9c0112e
https://github.com/forge/core/commit/4ed74e8da159fb31236b4d54b92967c6b9c0...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2013-02-19 (Tue, 19 Feb 2013)
Changed paths:
M arquillian/classpath/src/main/java/org/jboss/forge/arquillian/ForgeDeployableContainer.java
A container-api/src/main/java/org/jboss/forge/container/util/Weighted.java
A container-api/src/main/java/org/jboss/forge/container/util/WeightedComparator.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/EnumConstantResource.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/JavaFieldResource.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/JavaMemberResource.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/JavaMethodResource.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/JavaResource.java
A parser-java/api/src/main/java/org/jboss/forge/parser/java/resources/JavaResourceVisitor.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/EnumConstantResource.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/JavaFieldResource.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/JavaMemberResource.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/JavaMethodResource.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/JavaResource.java
R parser-java/api/src/main/java/org/jboss/forge/parser/resources/JavaResourceVisitor.java
M parser-java/impl/pom.xml
A parser-java/impl/src/main/java/org/jboss/forge/parser/java/resources/JavaResourceGenerator.java
A parser-java/impl/src/main/resources/META-INF/beans.xml
M parser-java/tests/src/test/java/org/jboss/forge/parser/java/JavaParserResourcesTest.java
M resources/api/src/main/java/org/jboss/forge/resource/ResourceFactory.java
M resources/api/src/main/java/org/jboss/forge/resource/ResourceGenerator.java
Log Message:
-----------
Add JavaResourceGenerator, and refactor ResourceFactory to select the most specialized resource type when performing generation