openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r881048 - /incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java
Date Mon, 16 Nov 2009 23:29:50 GMT
Author: gerdogdu
Date: Mon Nov 16 23:29:50 2009
New Revision: 881048

URL: http://svn.apache.org/viewvc?rev=881048&view=rev
Log:
Correction on the CreationalContext and Interceptors/Decorators architecture. Update all codes.

Modified:
    incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java

Modified: incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java?rev=881048&r1=881047&r2=881048&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/component/JmsBean.java
Mon Nov 16 23:29:50 2009
@@ -22,7 +22,6 @@
 import org.apache.webbeans.component.AbstractBean;
 import org.apache.webbeans.component.JmsBeanMarker;
 import org.apache.webbeans.component.WebBeansType;
-import org.apache.webbeans.context.creational.CreationalContextFactory;
 import org.apache.webbeans.jms.JMSModel;
 import org.apache.webbeans.jms.util.Closable;
 
@@ -30,12 +29,10 @@
 {
     private JMSModel jmsModel = null;
     
-    @SuppressWarnings("unchecked")
     JmsBean(JMSModel jmsModel)
     {
         super(WebBeansType.JMS);        
         this.jmsModel = jmsModel;
-        this.creationalContext = CreationalContextFactory.getInstance().getCreationalContext(this);
     }
 
     @Override
@@ -45,7 +42,7 @@
     }
 
     @Override
-    protected void destroyInstance(T instance)
+    protected void destroyInstance(T instance,CreationalContext<T> creationalContext)
     {        
         try
         {



Mime
View raw message