[seam-commits] Seam SVN: r13700 - in modules/persistence/trunk: impl/src/main/java/org/jboss/seam/persistence and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Sep 2 07:18:41 EDT 2010
Author: swd847
Date: 2010-09-02 07:18:41 -0400 (Thu, 02 Sep 2010)
New Revision: 13700
Modified:
modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/PersistenceContexts.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/DefaultPersistenceProvider.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java
Log:
minor
Modified: modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/PersistenceContexts.java
===================================================================
--- modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/PersistenceContexts.java 2010-09-02 08:32:11 UTC (rev 13699)
+++ modules/persistence/trunk/api/src/main/java/org/jboss/seam/persistence/PersistenceContexts.java 2010-09-02 11:18:41 UTC (rev 13700)
@@ -1,6 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.seam.persistence;
-
/**
* PersistenceContexts tracks active persistence contexts within a conversation.
*
Modified: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/DefaultPersistenceProvider.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/DefaultPersistenceProvider.java 2010-09-02 08:32:11 UTC (rev 13699)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/DefaultPersistenceProvider.java 2010-09-02 11:18:41 UTC (rev 13700)
@@ -31,8 +31,6 @@
import javax.persistence.OptimisticLockException;
import javax.transaction.Synchronization;
-import org.jboss.weld.extensions.defaultbean.DefaultBean;
-
/**
* Abstraction layer for persistence providers (JPA implementations). This class
* provides a working base implementation that can be optimized for performance
@@ -46,7 +44,6 @@
* @author Stuart Douglas
*
*/
- at DefaultBean(type = DefaultPersistenceProvider.class)
public class DefaultPersistenceProvider implements SeamPersistenceProvider
{
public enum Feature
Modified: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java 2010-09-02 08:32:11 UTC (rev 13699)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java 2010-09-02 11:18:41 UTC (rev 13700)
@@ -178,7 +178,7 @@
{
// we need to add all additional interfaces from our
// SeamPersistenceProvider to the bean as at this stage we have no way of
- // knowing which persistence provider is actually in use this only time
+ // knowing which persistence provider is actually in use. The only time
// that this may cause slightly odd behaviour is if two providers are on
// the class path, in which case the entity manager may be assignable to
// additional interfaces that it does not support.
More information about the seam-commits
mailing list