deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-1173 Add an annotation to the bean to make it registered by default in annotated discovery.
Date Mon, 20 Jun 2016 00:30:21 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 4939bf4bf -> e865363e0


DELTASPIKE-1173 Add an annotation to the bean to make it registered by default in annotated
discovery.


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/e865363e
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/e865363e
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/e865363e

Branch: refs/heads/master
Commit: e865363e0f2381428f09aef26a91e6bce8f81a7a
Parents: 4939bf4
Author: John D. Ament <johndament@apache.org>
Authored: Sun Jun 19 20:30:16 2016 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Sun Jun 19 20:30:16 2016 -0400

----------------------------------------------------------------------
 .../jpa/impl/entitymanager/DefaultEntityManagerHolder.java         | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e865363e/deltaspike/modules/jpa/impl/src/main/java/org/apache/deltaspike/jpa/impl/entitymanager/DefaultEntityManagerHolder.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jpa/impl/src/main/java/org/apache/deltaspike/jpa/impl/entitymanager/DefaultEntityManagerHolder.java
b/deltaspike/modules/jpa/impl/src/main/java/org/apache/deltaspike/jpa/impl/entitymanager/DefaultEntityManagerHolder.java
index 29eb630..1f1256f 100644
--- a/deltaspike/modules/jpa/impl/src/main/java/org/apache/deltaspike/jpa/impl/entitymanager/DefaultEntityManagerHolder.java
+++ b/deltaspike/modules/jpa/impl/src/main/java/org/apache/deltaspike/jpa/impl/entitymanager/DefaultEntityManagerHolder.java
@@ -18,6 +18,7 @@
  */
 package org.apache.deltaspike.jpa.impl.entitymanager;
 
+import javax.enterprise.context.Dependent;
 import javax.persistence.EntityManager;
 
 import org.apache.deltaspike.jpa.spi.entitymanager.ActiveEntityManagerHolder;
@@ -26,6 +27,7 @@ import org.apache.deltaspike.jpa.spi.entitymanager.ActiveEntityManagerHolder;
  * Empty holder. Override and specialize in using module.
  * Currently only used by the data module.
  */
+@Dependent
 public class DefaultEntityManagerHolder implements ActiveEntityManagerHolder
 {
 


Mime
View raw message