onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sclas...@apache.org
Subject svn commit: r1707068 - /onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java
Date Tue, 06 Oct 2015 14:46:49 GMT
Author: sclassen
Date: Tue Oct  6 14:46:49 2015
New Revision: 1707068

URL: http://svn.apache.org/viewvc?rev=1707068&view=rev
Log:
ONAMI-118: add missing @Inject

Modified:
    onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java

Modified: onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java
URL: http://svn.apache.org/viewvc/onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java?rev=1707068&r1=1707067&r2=1707068&view=diff
==============================================================================
--- onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java
(original)
+++ onami/trunk/persist/src/main/java/org/apache/onami/persist/UserTransactionProviderByJndiLookup.java
Tue Oct  6 14:46:49 2015
@@ -19,6 +19,7 @@ package org.apache.onami.persist;
  * under the License.
  */
 
+import javax.inject.Inject;
 import javax.inject.Provider;
 import javax.inject.Singleton;
 import javax.transaction.UserTransaction;
@@ -42,6 +43,7 @@ class UserTransactionProviderByJndiLooku
      *
      * @param jndiName jndi name of the entity manager factory. Must not be {@code null}.
      */
+    @Inject
     UserTransactionProviderByJndiLookup( @UserTransactionJndiName String jndiName, JndiLookupHelper
jndiLookupHelper )
     {
         this.jndiName = checkNotNull( jndiName, "jndiName is mandatory!" );



Mime
View raw message