Author: pete.muir(a)jboss.org
Date: 2010-09-26 16:09:32 -0400 (Sun, 26 Sep 2010)
New Revision: 13776
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/FlushModeManagerImpl.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/HibernatePersistenceProvider.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/InjectionEventListener.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/hibernate/HibernateManagedPersistenceContextExtension.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/DefaultSeamTransaction.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/EjbSynchronizations.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/TransactionExtension.java
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/util/EjbApi.java
Log:
update for new WeldX packages
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/FlushModeManagerImpl.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/FlushModeManagerImpl.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/FlushModeManagerImpl.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -36,7 +36,7 @@
*
*/
@ApplicationScoped
-@DefaultBean(type = FlushModeManager.class)
+(a)DefaultBean(FlushModeManager.class)
public class FlushModeManagerImpl implements Serializable, FlushModeManager
{
FlushModeType flushModeType = FlushModeType.AUTO;
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/HibernatePersistenceProvider.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/HibernatePersistenceProvider.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/HibernatePersistenceProvider.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -12,7 +12,7 @@
import org.hibernate.Session;
import org.hibernate.TransientObjectException;
import org.hibernate.proxy.HibernateProxy;
-import org.jboss.weld.extensions.util.Reflections;
+import org.jboss.weld.extensions.reflection.Reflections;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/InjectionEventListener.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/InjectionEventListener.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/InjectionEventListener.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -33,9 +33,9 @@
import javax.enterprise.inject.spi.InjectionTarget;
import javax.inject.Inject;
-import org.jboss.weld.extensions.annotated.AnnotatedTypeBuilder;
import org.jboss.weld.extensions.beanManager.BeanManagerAccessor;
-import org.jboss.weld.extensions.util.Reflections;
+import org.jboss.weld.extensions.reflection.Reflections;
+import org.jboss.weld.extensions.reflection.annotated.AnnotatedTypeBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
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-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextExtension.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -53,12 +53,12 @@
import javax.persistence.PersistenceUnit;
import org.jboss.seam.persistence.util.EnvironmentUtils;
-import org.jboss.weld.extensions.annotated.AnnotatedTypeBuilder;
import org.jboss.weld.extensions.bean.BeanBuilder;
import org.jboss.weld.extensions.bean.Beans;
import org.jboss.weld.extensions.literal.AnyLiteral;
import org.jboss.weld.extensions.literal.ApplicationScopedLiteral;
import org.jboss.weld.extensions.literal.DefaultLiteral;
+import org.jboss.weld.extensions.reflection.annotated.AnnotatedTypeBuilder;
import org.jboss.weld.extensions.util.service.ServiceLoader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/hibernate/HibernateManagedPersistenceContextExtension.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/hibernate/HibernateManagedPersistenceContextExtension.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/hibernate/HibernateManagedPersistenceContextExtension.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -42,11 +42,11 @@
import org.jboss.seam.persistence.HibernatePersistenceProvider;
import org.jboss.seam.persistence.ManagedPersistenceContext;
import org.jboss.seam.persistence.SeamManaged;
-import org.jboss.weld.extensions.annotated.AnnotatedTypeBuilder;
import org.jboss.weld.extensions.bean.BeanBuilder;
import org.jboss.weld.extensions.literal.AnyLiteral;
import org.jboss.weld.extensions.literal.ApplicationScopedLiteral;
import org.jboss.weld.extensions.literal.DefaultLiteral;
+import org.jboss.weld.extensions.reflection.annotated.AnnotatedTypeBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/DefaultSeamTransaction.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/DefaultSeamTransaction.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/DefaultSeamTransaction.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -45,7 +45,7 @@
* @author Stuart Douglas
*
*/
-@DefaultBean(type = SeamTransaction.class)
+(a)DefaultBean(SeamTransaction.class)
@DefaultTransaction
public class DefaultSeamTransaction implements SeamTransaction
{
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/EjbSynchronizations.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/EjbSynchronizations.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/EjbSynchronizations.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -51,7 +51,7 @@
@Stateful
@RequestScoped
@TransactionAttribute(TransactionAttributeType.SUPPORTS)
-@DefaultBean(type = Synchronizations.class)
+(a)DefaultBean(Synchronizations.class)
public class EjbSynchronizations implements LocalEjbSynchronizations,
SessionSynchronization
{
private static final Logger log = LoggerFactory.getLogger(EjbSynchronizations.class);
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/TransactionExtension.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/TransactionExtension.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/transaction/TransactionExtension.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -30,7 +30,7 @@
import javax.enterprise.util.AnnotationLiteral;
import org.jboss.seam.persistence.util.EjbApi;
-import org.jboss.weld.extensions.annotated.AnnotatedTypeBuilder;
+import org.jboss.weld.extensions.reflection.annotated.AnnotatedTypeBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/util/EjbApi.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/util/EjbApi.java 2010-09-26
19:49:17 UTC (rev 13775)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/util/EjbApi.java 2010-09-26
20:09:32 UTC (rev 13776)
@@ -26,7 +26,7 @@
import javax.enterprise.inject.spi.AnnotatedType;
-import org.jboss.weld.extensions.util.Reflections;
+import org.jboss.weld.extensions.reflection.Reflections;
/**
* Utility class that provides access to some annotations from the Java