openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r906132 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events: ProcessObserverMethodImpl.java ProcessSessionBeanImpl.java
Date Wed, 03 Feb 2010 17:18:01 GMT
Author: gerdogdu
Date: Wed Feb  3 17:18:01 2010
New Revision: 906132

URL: http://svn.apache.org/viewvc?rev=906132&view=rev
Log:
Update for reflecting jcdi api changes

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java?rev=906132&r1=906131&r2=906132&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java
Wed Feb  3 17:18:01 2010
@@ -27,15 +27,15 @@
  * @param <X> declared bean class
  * @param <T> event type
  */
-public class ProcessObserverMethodImpl<X,T> implements ProcessObserverMethod<X,
T>
+public class ProcessObserverMethodImpl<T,X> implements ProcessObserverMethod<T,
X>
 {
     /**Observer annotated method*/
     private final AnnotatedMethod<X> annotatedMethod;
     
     /**ObserverMethod instance*/
-    private final ObserverMethod<X> observerMethod;
+    private final ObserverMethod<T> observerMethod;
 
-    public ProcessObserverMethodImpl(AnnotatedMethod<X> annotatedMethod,ObserverMethod<X>
observerMethod)
+    public ProcessObserverMethodImpl(AnnotatedMethod<X> annotatedMethod,ObserverMethod<T>
observerMethod)
     {
         this.annotatedMethod = annotatedMethod;
         this.observerMethod = observerMethod;
@@ -63,7 +63,7 @@
      * {@inheritDoc}
      */
     @Override
-    public ObserverMethod<X> getObserverMethod()
+    public ObserverMethod<T> getObserverMethod()
     {
         return this.observerMethod;
     }

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java?rev=906132&r1=906131&r2=906132&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java
Wed Feb  3 17:18:01 2010
@@ -25,10 +25,10 @@
  *
  * @param <X> ejb class info
  */
-public class ProcessSessionBeanImpl<X> extends ProcessBeanImpl<X> implements
ProcessSessionBean<X>
+public class ProcessSessionBeanImpl<X> extends ProcessBeanImpl<Object> implements
ProcessSessionBean<Object>
 {
     /**Session bean annotated type*/
-    private final AnnotatedType<X> annotatedBeanClass;
+    private final AnnotatedType<Object> annotatedBeanClass;
     
     /**Ejb name*/
     private final String ejbName;
@@ -36,7 +36,7 @@
     /**Session bean type*/
     private final SessionBeanType type;
 
-    public ProcessSessionBeanImpl(Bean<X> bean, AnnotatedType<X> annotatedType,
String name, SessionBeanType type)
+    public ProcessSessionBeanImpl(Bean<Object> bean, AnnotatedType<Object> annotatedType,
String name, SessionBeanType type)
     {
         super(bean, annotatedType);
         this.annotatedBeanClass = annotatedType;
@@ -67,7 +67,7 @@
      * {@inheritDoc}
      */
     @Override
-    public AnnotatedType<X> getAnnotatedBeanClass() {
+    public AnnotatedType<Object> getAnnotatedBeanClass() {
         return annotatedBeanClass;
     }
 



Mime
View raw message