Weld SVN: r6887 - archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 18:31:37 -0400 (Tue, 03 Aug 2010)
New Revision: 6887
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberResourceRESTService.java
Log:
make recommendation about using @NamedQuery references
Modified: archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberResourceRESTService.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberResourceRESTService.java 2010-08-03 22:31:16 UTC (rev 6886)
+++ archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberResourceRESTService.java 2010-08-03 22:31:37 UTC (rev 6887)
@@ -16,7 +16,6 @@
@RequestScoped
public class MemberResourceRESTService
{
- private static final String ALL_MEMBERS = "select m from Member m order by m.name";
@Inject
@MemberRepository
private EntityManager em;
@@ -24,8 +23,11 @@
@GET
public List<Member> listAllMembers()
{
- @SuppressWarnings("unchecked") // Force IDE to ignore warnings about "genericizing" the results of this query
- final List<Member> results = em.createQuery(ALL_MEMBERS).getResultList();
+ // Use @SupressWarnings to force IDE to ignore warnings about "genericizing" the results of this query
+ @SuppressWarnings("unchecked")
+ // We recommend centralizing inline queries such as this one into @NamedQuery annotations on the @Entity class
+ // as described in the named query blueprint: https://blueprints.dev.java.net/bpcatalog/ee5/persistence/namedquery.html
+ final List<Member> results = em.createQuery("select m from Member m order by m.name").getResultList();
return results;
}
14 years, 3 months
Weld SVN: r6886 - archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 18:31:16 -0400 (Tue, 03 Aug 2010)
New Revision: 6886
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberListProducer.java
Log:
update comments
Modified: archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberListProducer.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberListProducer.java 2010-08-03 22:19:46 UTC (rev 6885)
+++ archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberListProducer.java 2010-08-03 22:31:16 UTC (rev 6886)
@@ -23,8 +23,9 @@
private List<Member> members;
+ // The @Named annotation allows us to access the return value via the EL variable name "member" in the UI (e.g., Facelets or JSP view)
@Produces
- @Named // This annotation allows us to access this list via name "members" in the facelets UI via EL
+ @Named
public List<Member> getMembers()
{
return members;
@@ -41,7 +42,7 @@
CriteriaBuilder cb = em.getCriteriaBuilder();
CriteriaQuery<Member> criteria = cb.createQuery(Member.class);
Root<Member> member = criteria.from(Member.class);
- //Uncomment if you would like to try out typesafe criteria queries, a new feature in JPA 2.0.
+ // Uncomment if you would like to try out typesafe criteria queries, a new feature in JPA 2.0
// criteria.select(member).orderBy(cb.asc(member.get(Member_.name)));
criteria.select(member).orderBy(cb.asc(member.get("name")));
members = em.createQuery(criteria).getResultList();
14 years, 3 months
Weld SVN: r6885 - archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 18:19:46 -0400 (Tue, 03 Aug 2010)
New Revision: 6885
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberRepositoryProducer.java
Log:
update comment
Modified: archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberRepositoryProducer.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberRepositoryProducer.java 2010-08-03 19:16:57 UTC (rev 6884)
+++ archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/MemberRepositoryProducer.java 2010-08-03 22:19:46 UTC (rev 6885)
@@ -3,6 +3,7 @@
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
+
/**
* This class uses CDI to produce EntityManager instances qualified that are
* qualified as @MemberRepository. Therefore, to inject an instance, @Inject
@@ -10,7 +11,8 @@
*/
public class MemberRepositoryProducer
{
- @SuppressWarnings("unused") // tell IDE to ignore warnings about em not being used
+ // use @SuppressWarnings to tell IDE to ignore warnings about field not being referenced directly
+ @SuppressWarnings("unused")
@Produces
@MemberRepository
@PersistenceContext
14 years, 3 months
Weld SVN: r6884 - in core/trunk: impl and 1 other directories.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2010-08-03 15:16:57 -0400 (Tue, 03 Aug 2010)
New Revision: 6884
Modified:
core/trunk/bom/pom.xml
core/trunk/impl/pom.xml
core/trunk/osgi-bundle/pom.xml
Log:
WELD-564: Migrate to Google Guava from google-collections
Modified: core/trunk/bom/pom.xml
===================================================================
--- core/trunk/bom/pom.xml 2010-08-03 18:42:42 UTC (rev 6883)
+++ core/trunk/bom/pom.xml 2010-08-03 19:16:57 UTC (rev 6884)
@@ -35,7 +35,7 @@
<properties>
<weld.api.version>1.1-SNAPSHOT</weld.api.version>
<!-- Override the API and compile with more recent EL API -->
- <google.collections.version>1.0</google.collections.version>
+ <google.guava.version>r06</google.guava.version>
<javassist.version>3.11.0.GA</javassist.version>
<cdi.tck.version>1.0.2.CR1</cdi.tck.version>
<atinject.tck.version>1.0.0-PFD-3</atinject.tck.version>
@@ -104,9 +104,9 @@
</dependency>
<dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- <version>${google.collections.version}</version>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>${google.guava.version}</version>
</dependency>
<dependency>
Modified: core/trunk/impl/pom.xml
===================================================================
--- core/trunk/impl/pom.xml 2010-08-03 18:42:42 UTC (rev 6883)
+++ core/trunk/impl/pom.xml 2010-08-03 19:16:57 UTC (rev 6884)
@@ -86,8 +86,8 @@
</dependency>
<dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
</dependency>
<dependency>
Modified: core/trunk/osgi-bundle/pom.xml
===================================================================
--- core/trunk/osgi-bundle/pom.xml 2010-08-03 18:42:42 UTC (rev 6883)
+++ core/trunk/osgi-bundle/pom.xml 2010-08-03 19:16:57 UTC (rev 6884)
@@ -175,8 +175,8 @@
</dependency>
<dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
</dependency>
<dependency>
14 years, 3 months
Weld SVN: r6883 - archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 14:42:42 -0400 (Tue, 03 Aug 2010)
New Revision: 6883
Modified:
archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MemberRegistrationTest.java
Log:
comment out slf4j library additions as they aren't needed for the two test environments
and introduce complications
Modified: archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MemberRegistrationTest.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MemberRegistrationTest.java 2010-08-03 18:41:28 UTC (rev 6882)
+++ archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MemberRegistrationTest.java 2010-08-03 18:42:42 UTC (rev 6883)
@@ -22,10 +22,11 @@
public static Archive<?> createTestArchive() {
return ShrinkWrap.create(WebArchive.class, "test.war")
.addClasses(Member.class, MemberRegistration.class, MemberRepository.class, MemberRepositoryProducer.class)
- .addLibraries(
- MavenArtifactResolver.resolve("org.slf4j:slf4j-api:1.5.10"),
- MavenArtifactResolver.resolve("org.slf4j:slf4j-jdk14:1.5.10")
- )
+ // SLF4J libraries required only if not available on the container classpath
+// .addLibraries(
+// MavenArtifactResolver.resolve("org.slf4j:slf4j-api:1.5.10"),
+// MavenArtifactResolver.resolve("org.slf4j:slf4j-jdk14:1.5.10")
+// )
.addWebResource("test-persistence.xml", "classes/META-INF/persistence.xml")
.addWebResource(new ByteArrayAsset(new byte[0]), "beans.xml");
}
14 years, 3 months
Weld SVN: r6882 - archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 14:41:28 -0400 (Tue, 03 Aug 2010)
New Revision: 6882
Modified:
archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MavenArtifactResolver.java
Log:
add support for maven.repo.local override; update docs
Modified: archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MavenArtifactResolver.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MavenArtifactResolver.java 2010-08-03 18:40:50 UTC (rev 6881)
+++ archetypes/javaee6-webapp/trunk/src/test/java/com/mycompany/MavenArtifactResolver.java 2010-08-03 18:41:28 UTC (rev 6882)
@@ -8,7 +8,7 @@
*
* <p>This approach is an interim solution for Maven projects
* until the open feature request to add formally add artifacts
- * to a test (ARQ-66) is implementated.</p>
+ * to a test (<a href="https://jira.jboss.org/browse/ARQ-66">ARQ-66</a>) is implementated.</p>
*
* <p>The testCompile goal will resolve any test dependencies and
* put them in your local Maven repository. By the time the test
@@ -21,14 +21,31 @@
* WebArchive war = ShrinkWrap.create("test.war", WebArchive.class)
* .addLibrary(MavenArtifactResolver.resolve("commons-lang:commons-lang:2.5"));
* </pre>
+
+ * <p>If you are using an alternate local Maven repository, you need to pass it
+ * to the Maven surefire plugin using the following stanza in the plugin
+ * configuration element:</p>
*
+ * <pre>
+ * <systemProperties>
+ * <property>
+ * <name>maven.repo.local</name>
+ * <value>${maven.repo.local}</value>
+ * </property>
+ * </systemProperties>
+ * </pre>
+ *
+ * <p>Another approach to pull in a library is to add packages recursively from the
+ * root library package.</p>
+ *
* @author Dan Allen
*/
public class MavenArtifactResolver
{
private static final String LOCAL_MAVEN_REPO =
- System.getProperty("user.home") + File.separatorChar +
- ".m2" + File.separatorChar + "repository";
+ System.getProperty("maven.repo.local") != null ? System.getProperty("maven.repo.local") :
+ (System.getProperty("user.home") + File.separatorChar +
+ ".m2" + File.separatorChar + "repository");
public static File resolve(String groupId, String artifactId, String version)
{
14 years, 3 months
Weld SVN: r6881 - archetypes/javaee6-webapp/trunk.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-03 14:40:50 -0400 (Tue, 03 Aug 2010)
New Revision: 6881
Modified:
archetypes/javaee6-webapp/trunk/pom.xml
Log:
add clean goal in command hint
Modified: archetypes/javaee6-webapp/trunk/pom.xml
===================================================================
--- archetypes/javaee6-webapp/trunk/pom.xml 2010-08-03 16:28:20 UTC (rev 6880)
+++ archetypes/javaee6-webapp/trunk/pom.xml 2010-08-03 18:40:50 UTC (rev 6881)
@@ -233,7 +233,7 @@
<profile>
<!-- An optional Arquillian testing profile that executes tests in GlassFish Embedded -->
- <!-- Run with 'mvn test -Pglassfish-embedded-3' -->
+ <!-- Run with 'mvn clean test -Pglassfish-embedded-3' -->
<id>glassfish-embedded-3</id>
<dependencies>
<dependency>
@@ -282,7 +282,7 @@
</profile>
<profile>
<!-- An optional Arquillian testing profile that executes tests in a remote JBoss AS instance -->
- <!-- Run with 'mvn test -Pjbossas-remote-6' -->
+ <!-- Run with 'mvn clean test -Pjbossas-remote-6' -->
<id>jbossas-remote-6</id>
<dependencies>
<dependency>
14 years, 3 months
Weld SVN: r6880 - in cdi-tck/branches/1.0/impl/src/main: resources and 1 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-03 12:28:20 -0400 (Tue, 03 Aug 2010)
New Revision: 6880
Added:
cdi-tck/branches/1.0/impl/src/main/resources/org/jboss/jsr299/tck/tests/implementation/simple/definition/faces-config.xml
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/EnterpriseBeanNotDiscoveredAsManagedBeanTest.java
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/SimpleBeanDefinitionTest.java
cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml
Log:
CDITCK-171
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/EnterpriseBeanNotDiscoveredAsManagedBeanTest.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/EnterpriseBeanNotDiscoveredAsManagedBeanTest.java 2010-08-03 15:36:47 UTC (rev 6879)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/EnterpriseBeanNotDiscoveredAsManagedBeanTest.java 2010-08-03 16:28:20 UTC (rev 6880)
@@ -21,6 +21,8 @@
import org.jboss.test.audit.annotations.SpecVersion;
import org.jboss.testharness.impl.packaging.Artifact;
import org.jboss.testharness.impl.packaging.IntegrationTest;
+import org.jboss.testharness.impl.packaging.Resource;
+import org.jboss.testharness.impl.packaging.Resources;
import org.jboss.testharness.impl.packaging.jsr299.Extension;
import org.testng.annotations.Test;
@@ -28,6 +30,9 @@
@SpecVersion(spec="cdi", version="20091101")
@Extension("javax.enterprise.inject.spi.Extension")
@IntegrationTest
+@Resources({
+ @Resource(destination="/WEB-INF/faces-config.xml", source="faces-config.xml")
+})
public class EnterpriseBeanNotDiscoveredAsManagedBeanTest extends AbstractJSR299Test
{
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/SimpleBeanDefinitionTest.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/SimpleBeanDefinitionTest.java 2010-08-03 15:36:47 UTC (rev 6879)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/definition/SimpleBeanDefinitionTest.java 2010-08-03 16:28:20 UTC (rev 6880)
@@ -23,10 +23,15 @@
import org.jboss.test.audit.annotations.SpecAssertions;
import org.jboss.test.audit.annotations.SpecVersion;
import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.Resource;
+import org.jboss.testharness.impl.packaging.Resources;
import org.testng.annotations.Test;
@Artifact
@SpecVersion(spec="cdi", version="20091101")
+@Resources({
+ @Resource(destination="/WEB-INF/faces-config.xml", source="faces-config.xml")
+})
public class SimpleBeanDefinitionTest extends AbstractJSR299Test
{
Added: cdi-tck/branches/1.0/impl/src/main/resources/org/jboss/jsr299/tck/tests/implementation/simple/definition/faces-config.xml
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/resources/org/jboss/jsr299/tck/tests/implementation/simple/definition/faces-config.xml (rev 0)
+++ cdi-tck/branches/1.0/impl/src/main/resources/org/jboss/jsr299/tck/tests/implementation/simple/definition/faces-config.xml 2010-08-03 16:28:20 UTC (rev 6880)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<faces-config version="1.2"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+</faces-config>
\ No newline at end of file
Modified: cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml 2010-08-03 15:36:47 UTC (rev 6879)
+++ cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml 2010-08-03 16:28:20 UTC (rev 6880)
@@ -53,39 +53,6 @@
</methods>
</class>
- <!-- CDITCK-171 -->
- <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.SimpleBeanDefinitionTest">
- <methods>
- <exclude name="testAbstractClassDeclaredInJavaNotDiscovered" />
- <exclude name="testDependentScopedBeanCanHavePublicField" />
- <exclude name="testInitializerAnnotatedConstructor" />
- <exclude name="testInitializerAnnotatedConstructorUsedOverEmptyConstuctor" />
- <exclude name="testInterfaceNotDiscoveredAsSimpleBean" />
- <exclude name="testNonStaticInnerClassDeclaredInJavaNotDiscovered" />
- <exclude name="testSimpleBeanOnlyIfConstructorIsInitializer" />
- <exclude name="testSimpleBeanOnlyIfConstructorParameterless" />
- <exclude name="testStaticInnerClassDeclaredInJavaAllowed" />
- <exclude name="testEmptyConstructorUsed" />
- </methods>
- </class>
- <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.EnterpriseBeanNotDiscoveredAsManagedBeanTest">
- <methods>
- <exclude name="testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean" />
- </methods>
- </class>
-
-
-
-
-
-
-
-testSimpleBeanOnlyIfConstructorIsInitializer
-testSimpleBeanOnlyIfConstructorParameterless
-testStaticInnerClassDeclaredInJavaAllowed
-
- <!-- None known -->
-
<!-- Issues in Weld (the RI) -->
<!-- WELD-401 -->
14 years, 3 months
Weld SVN: r6879 - cdi-tck/branches/1.0/impl/src/main/resources.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-03 11:36:47 -0400 (Tue, 03 Aug 2010)
New Revision: 6879
Modified:
cdi-tck/branches/1.0/impl/src/main/resources/tck-tests-released.xml
cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml
Log:
update excludes for current issues
Modified: cdi-tck/branches/1.0/impl/src/main/resources/tck-tests-released.xml
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/resources/tck-tests-released.xml 2010-08-03 15:07:30 UTC (rev 6878)
+++ cdi-tck/branches/1.0/impl/src/main/resources/tck-tests-released.xml 2010-08-03 15:36:47 UTC (rev 6879)
@@ -1,6 +1,7 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
-<!-- CDI TCK Excludes for latest released TCK (currently 1.0.1 Final) -->
+<!-- CDI TCK Excludes for latest released TCK (currently 1.0.1 Final)
+-->
<suite name="CDI TCK" verbose="0" >
<test name="CDI TCK">
@@ -152,6 +153,7 @@
<class name="org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest">
<methods>
<exclude name="testApplicationContextShared" />
+ <exclude name="testApplicationScopeActiveDuringCallToEjbTimeoutMethod" />
</methods>
</class>
@@ -191,6 +193,84 @@
<exclude name="testSessionContextDestroyedWhenHttpSessionTimesOut" />
</methods>
</class>
+
+ <!-- CDITCK-164 -->
+ <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest">
+ <methods>
+ <exclude name="testForEachEnterpriseBeanANewBeanExists" />
+ <exclude name="testNewBeanHasNoBeanELName" />
+ <exclude name="testNewBeanHasNoObservers" />
+ <exclude name="testNewBeanHasNoStereotypes" />
+ <exclude name="testNewBeanIsDependentScoped" />
+ <exclude name="testNewBeanIsHasOnlyNewBinding" />
+ </methods>
+ </class>
+ <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanICTest">
+ <methods>
+ <exclude name="testNewBeanHasNoDisposalMethods" />
+ <exclude name="testNewBeanHasNoProducerMethods" />
+ <exclude name="testNewBeanHasSameConstructor" />
+ <exclude name="testNewBeanHasSameInitializers" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-165 -->
+ <class name="org.jboss.jsr299.tck.tests.context.NormalContextTest">
+ <methods>
+ <exclude name="testSameNormalScopeBeanInjectedEverywhere" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-168 -->
+ <class name="org.jboss.jsr299.tck.tests.extensions.processBean.ProcessBeanTest">
+ <methods>
+ <exclude name="testProcessProducerFieldEvent" />
+ <exclude name="testProcessProducerMethodEvent" />
+ </methods>
+ </class>
+ <class name="org.jboss.jsr299.tck.tests.extensions.processBean.ProcessSessionBeanTest">
+ <methods>
+ <exclude name="testProcessSessionBeanEvent" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-169 -->
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest">
+ <methods>
+ <exclude name="testInjectionOfPersistenceContext" />
+ <exclude name="testInjectionOfPersistenceUnit" />
+ <exclude name="testPassivationOfPersistenceContext" />
+ <exclude name="testPassivationOfPersistenceUnit" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-170 -->
+ <class name="org.jboss.jsr299.tck.tests.event.observer.transactional.TransactionalObserversTest">
+ <methods>
+ <exclude name="testObserverCanSetRollbackOnlyOnTransaction" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-171 -->
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.SimpleBeanDefinitionTest">
+ <methods>
+ <exclude name="testAbstractClassDeclaredInJavaNotDiscovered" />
+ <exclude name="testDependentScopedBeanCanHavePublicField" />
+ <exclude name="testInitializerAnnotatedConstructor" />
+ <exclude name="testInitializerAnnotatedConstructorUsedOverEmptyConstuctor" />
+ <exclude name="testInterfaceNotDiscoveredAsSimpleBean" />
+ <exclude name="testNonStaticInnerClassDeclaredInJavaNotDiscovered" />
+ <exclude name="testSimpleBeanOnlyIfConstructorIsInitializer" />
+ <exclude name="testSimpleBeanOnlyIfConstructorParameterless" />
+ <exclude name="testStaticInnerClassDeclaredInJavaAllowed" />
+ <exclude name="testEmptyConstructorUsed" />
+ </methods>
+ </class>
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.EnterpriseBeanNotDiscoveredAsManagedBeanTest">
+ <methods>
+ <exclude name="testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean" />
+ </methods>
+ </class>
<!-- Issues in Weld (the RI) -->
Modified: cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml 2010-08-03 15:07:30 UTC (rev 6878)
+++ cdi-tck/branches/1.0/impl/src/main/resources/tck-tests.xml 2010-08-03 15:36:47 UTC (rev 6879)
@@ -16,6 +16,74 @@
<classes>
<!-- Issues in the TCK -->
+ <!-- CDITCK-165 -->
+ <class name="org.jboss.jsr299.tck.tests.context.NormalContextTest">
+ <methods>
+ <exclude name="testSameNormalScopeBeanInjectedEverywhere" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-168 -->
+ <class name="org.jboss.jsr299.tck.tests.extensions.processBean.ProcessBeanTest">
+ <methods>
+ <exclude name="testProcessProducerFieldEvent" />
+ <exclude name="testProcessProducerMethodEvent" />
+ </methods>
+ </class>
+ <class name="org.jboss.jsr299.tck.tests.extensions.processBean.ProcessSessionBeanTest">
+ <methods>
+ <exclude name="testProcessSessionBeanEvent" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-169 -->
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest">
+ <methods>
+ <exclude name="testInjectionOfPersistenceContext" />
+ <exclude name="testInjectionOfPersistenceUnit" />
+ <exclude name="testPassivationOfPersistenceContext" />
+ <exclude name="testPassivationOfPersistenceUnit" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-170 -->
+ <class name="org.jboss.jsr299.tck.tests.event.observer.transactional.TransactionalObserversTest">
+ <methods>
+ <exclude name="testObserverCanSetRollbackOnlyOnTransaction" />
+ </methods>
+ </class>
+
+ <!-- CDITCK-171 -->
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.SimpleBeanDefinitionTest">
+ <methods>
+ <exclude name="testAbstractClassDeclaredInJavaNotDiscovered" />
+ <exclude name="testDependentScopedBeanCanHavePublicField" />
+ <exclude name="testInitializerAnnotatedConstructor" />
+ <exclude name="testInitializerAnnotatedConstructorUsedOverEmptyConstuctor" />
+ <exclude name="testInterfaceNotDiscoveredAsSimpleBean" />
+ <exclude name="testNonStaticInnerClassDeclaredInJavaNotDiscovered" />
+ <exclude name="testSimpleBeanOnlyIfConstructorIsInitializer" />
+ <exclude name="testSimpleBeanOnlyIfConstructorParameterless" />
+ <exclude name="testStaticInnerClassDeclaredInJavaAllowed" />
+ <exclude name="testEmptyConstructorUsed" />
+ </methods>
+ </class>
+ <class name="org.jboss.jsr299.tck.tests.implementation.simple.definition.EnterpriseBeanNotDiscoveredAsManagedBeanTest">
+ <methods>
+ <exclude name="testClassesImplementingEnterpriseBeanInterfaceNotDiscoveredAsSimpleBean" />
+ </methods>
+ </class>
+
+
+
+
+
+
+
+testSimpleBeanOnlyIfConstructorIsInitializer
+testSimpleBeanOnlyIfConstructorParameterless
+testStaticInnerClassDeclaredInJavaAllowed
+
<!-- None known -->
<!-- Issues in Weld (the RI) -->
14 years, 3 months
Weld SVN: r6878 - doc/trunk/reference/src/main/docbook/en-US.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-03 11:07:30 -0400 (Tue, 03 Aug 2010)
New Revision: 6878
Modified:
doc/trunk/reference/src/main/docbook/en-US/ri-spi.xml
Log:
minor
Modified: doc/trunk/reference/src/main/docbook/en-US/ri-spi.xml
===================================================================
--- doc/trunk/reference/src/main/docbook/en-US/ri-spi.xml 2010-08-03 12:13:00 UTC (rev 6877)
+++ doc/trunk/reference/src/main/docbook/en-US/ri-spi.xml 2010-08-03 15:07:30 UTC (rev 6878)
@@ -617,7 +617,7 @@
<listitem>
<para>
You should bind the bean manager for the bean deployment archive into JNDI at
- <literal>java:comp/Manager</literal>. The type should be
+ <literal>java:comp/BeanManager</literal>. The type should be
<literal>javax.enterprise.inject.spi.BeanManager</literal>. To obtain the correct bean manager for the
bean deployment archive, you may call
<literal>bootstrap.getBeanManager(beanDeploymentArchive)</literal>
14 years, 3 months