openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r987758 - in /openwebbeans/trunk: webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/ webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/ webbeans-impl/src/main/java/org/apache/webbeans/component/ webbeans-im...
Date Sat, 21 Aug 2010 13:49:54 GMT
Author: gerdogdu
Date: Sat Aug 21 13:49:53 2010
New Revision: 987758

URL: http://svn.apache.org/viewvc?rev=987758&view=rev
Log:
[OWB-444] Using Static Loggers in Shared ClassLoader

Modified:
    openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
    openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/AbstractInjectionTargetBean.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AnnotatedTypeBeanCreatorImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/xml/XMLManagedBean.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DelegateHandler.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/AbstractInjectable.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterceptor.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
    openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
    openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java

Modified: openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/interceptor/OpenWebBeansEjbInterceptor.java
Sat Aug 21 13:49:53 2010
@@ -79,7 +79,7 @@ import org.apache.webbeans.util.WebBeans
 public class OpenWebBeansEjbInterceptor implements Serializable
 {
     //Logger instance
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(OpenWebBeansEjbInterceptor.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(OpenWebBeansEjbInterceptor.class);
     
     /**Thread local for calling bean*/
     private static transient ThreadLocal<BaseEjbBean<?>> threadLocal = new ThreadLocal<BaseEjbBean<?>>();

Modified: openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/proxy/EjbBeanProxyHandler.java
Sat Aug 21 13:49:53 2010
@@ -53,7 +53,7 @@ import javassist.util.proxy.MethodHandle
 public class EjbBeanProxyHandler implements MethodHandler
 {
     //Logger instance
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(EjbBeanProxyHandler.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(EjbBeanProxyHandler.class);
     
     /**Proxy ejb bean instance*/
     private BaseEjbBean<?> ejbBean;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/AbstractInjectionTargetBean.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/AbstractInjectionTargetBean.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/AbstractInjectionTargetBean.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/AbstractInjectionTargetBean.java
Sat Aug 21 13:49:53 2010
@@ -66,7 +66,7 @@ import org.apache.webbeans.util.WebBeans
 public abstract class AbstractInjectionTargetBean<T> extends AbstractOwbBean<T>
implements InjectionTargetBean<T>
 {
     /** Logger instance */
-    private final static WebBeansLogger log = WebBeansLogger.getLogger(AbstractInjectionTargetBean.class);
+    private final WebBeansLogger log = WebBeansLogger.getLogger(AbstractInjectionTargetBean.class);
 
     /** Bean observable method */
     private Set<Method> observableMethods = new HashSet<Method>();

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AnnotatedTypeBeanCreatorImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AnnotatedTypeBeanCreatorImpl.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AnnotatedTypeBeanCreatorImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/AnnotatedTypeBeanCreatorImpl.java
Sat Aug 21 13:49:53 2010
@@ -29,7 +29,7 @@ import org.apache.webbeans.util.WebBeans
 
 public class AnnotatedTypeBeanCreatorImpl<T> extends ManagedBeanCreatorImpl<T>
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(AnnotatedTypeBeanCreatorImpl.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(AnnotatedTypeBeanCreatorImpl.class);
 
     public AnnotatedTypeBeanCreatorImpl(ManagedBean<T> managedBean)
     {

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/xml/XMLManagedBean.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/xml/XMLManagedBean.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/xml/XMLManagedBean.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/xml/XMLManagedBean.java
Sat Aug 21 13:49:53 2010
@@ -43,7 +43,7 @@ import org.apache.webbeans.util.Security
 public class XMLManagedBean<T> extends ManagedBean<T>
 {
     /**Logger instance*/
-    private static WebBeansLogger logger = WebBeansLogger.getLogger(XMLManagedBean.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(XMLManagedBean.class);
 
     /** Constructor injection point decleration */
     private XMLInjectableConstructor<T> injectableConstructor = null;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Sat Aug 21 13:49:53 2010
@@ -96,7 +96,7 @@ import org.apache.webbeans.xml.XMLSpecia
 public class BeansDeployer
 {
     //Logger instance
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(BeansDeployer.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(BeansDeployer.class);
 
     /**Deployment is started or not*/
     protected boolean deployed = false;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
Sat Aug 21 13:49:53 2010
@@ -38,7 +38,7 @@ import org.apache.webbeans.util.Security
 public class OpenWebBeansConfiguration
 {
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(OpenWebBeansConfiguration.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(OpenWebBeansConfiguration.class);
 
     /**Default configuration files*/
     private final static String DEFAULT_CONFIG_PROPERTIES_NAME = "META-INF/openwebbeans/openwebbeans.properties";

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java
Sat Aug 21 13:49:53 2010
@@ -59,7 +59,7 @@ import org.apache.webbeans.util.WebBeans
  */
 public class InjectionResolver
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(InjectionResolver.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(InjectionResolver.class);
 
     /**Bean Manager*/
     private BeanManagerImpl manager;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/conversation/ConversationImpl.java
Sat Aug 21 13:49:53 2010
@@ -44,7 +44,7 @@ public class ConversationImpl implements
     private static final long serialVersionUID = 8511063860333431722L;
 
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(ConversationImpl.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(ConversationImpl.class);
     
     /**Conversation id*/
     private String id;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DelegateHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DelegateHandler.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DelegateHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DelegateHandler.java
Sat Aug 21 13:49:53 2010
@@ -35,7 +35,7 @@ import javassist.util.proxy.MethodHandle
 
 public class DelegateHandler implements MethodHandler
 {
-    private transient static WebBeansLogger logger = WebBeansLogger.getLogger(DelegateHandler.class);
+    private transient WebBeansLogger logger = WebBeansLogger.getLogger(DelegateHandler.class);
 
     private transient List<Object> decorators;
     private transient int position = 0;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/WebBeansDecorator.java
Sat Aug 21 13:49:53 2010
@@ -64,7 +64,7 @@ import org.apache.webbeans.util.Security
  */
 public class WebBeansDecorator<T> extends AbstractInjectionTargetBean<T> implements
OwbDecorator<T>
 {
-    private static WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansDecorator.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansDecorator.class);
 
     /** Decorator class */
     private Class<?> clazz;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
Sat Aug 21 13:49:53 2010
@@ -59,7 +59,7 @@ import org.apache.webbeans.util.WebBeans
 @SuppressWarnings("unchecked")
 public final class NotificationManager
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(NotificationManager.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(NotificationManager.class);
 
     private final Map<Type, Set<ObserverMethod<?>>> observers = new ConcurrentHashMap<Type,
Set<ObserverMethod<?>>>();
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
Sat Aug 21 13:49:53 2010
@@ -83,7 +83,7 @@ import org.apache.webbeans.util.WebBeans
 public class ObserverMethodImpl<T> implements ObserverMethod<T>
 {
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(ObserverMethodImpl.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(ObserverMethodImpl.class);
 
     /**Observer owner bean that defines observer method*/
     private final InjectionTargetBean<?> bean;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/AbstractInjectable.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/AbstractInjectable.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/AbstractInjectable.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/AbstractInjectable.java
Sat Aug 21 13:49:53 2010
@@ -57,7 +57,7 @@ import org.apache.webbeans.util.WebBeans
  */
 public abstract class AbstractInjectable implements Injectable
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(AbstractInjectable.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(AbstractInjectable.class);
     
     /** Owner bean of the injection point*/
     protected OwbBean<?> injectionOwnerBean;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
Sat Aug 21 13:49:53 2010
@@ -44,7 +44,7 @@ import org.apache.webbeans.util.WebBeans
 public class InterceptorDataImpl implements InterceptorData
 {
     //Logger instance
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(InterceptorDataImpl.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(InterceptorDataImpl.class);
     
     /** Around invokes method */
     private Method aroundInvoke = null;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorHandler.java
Sat Aug 21 13:49:53 2010
@@ -142,7 +142,7 @@ public abstract class InterceptorHandler
     private static final long serialVersionUID = 1L;
     
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(InterceptorHandler.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(InterceptorHandler.class);
     
     /**Proxied bean*/
     protected OwbBean<?> bean = null;

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterceptor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterceptor.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterceptor.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/webbeans/WebBeansInterceptor.java
Sat Aug 21 13:49:53 2010
@@ -74,7 +74,7 @@ import org.apache.webbeans.xml.XMLAnnota
  */
 public class WebBeansInterceptor<T> extends AbstractOwbBean<T> implements OwbInterceptor<T>
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansInterceptor.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansInterceptor.class);
 
     /** InterceptorBindingTypes exist on the interceptor class */
     private Map<Class<? extends Annotation>, Annotation> interceptorBindingSet
= new HashMap<Class<? extends Annotation>, Annotation>();

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/AbstractLifeCycle.java
Sat Aug 21 13:49:53 2010
@@ -47,7 +47,7 @@ import org.apache.webbeans.xml.WebBeansX
 public abstract class AbstractLifeCycle implements ContainerLifecycle
 {
     //Logger instance
-    private final WebBeansLogger logger;
+    protected WebBeansLogger logger;
     
     /**Discover bean classes*/
     protected ScannerService scannerService;
@@ -69,10 +69,10 @@ public abstract class AbstractLifeCycle 
     
     protected AbstractLifeCycle()
     {
-        this(null, WebBeansLogger.getLogger(AbstractLifeCycle.class));
+        this(null);
     }
     
-    protected AbstractLifeCycle(Properties properties, WebBeansLogger logger)
+    protected AbstractLifeCycle(Properties properties)
     {
         beforeInitApplication(properties);
         
@@ -83,7 +83,6 @@ public abstract class AbstractLifeCycle 
         this.beanManager.setXMLConfigurator(this.xmlDeployer);
         this.scannerService = ServiceLoader.getService(ScannerService.class);
         this.contextsService = ServiceLoader.getService(ContextsService.class);
-        this.logger = logger;
         
         initApplication(properties);                
     }

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/lifecycle/StandaloneLifeCycle.java
Sat Aug 21 13:49:53 2010
@@ -31,16 +31,15 @@ import org.apache.webbeans.util.WebBeans
  */
 public class StandaloneLifeCycle extends AbstractLifeCycle
 {
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(StandaloneLifeCycle.class);
-        
     public StandaloneLifeCycle(Properties properties, WebBeansLogger logger)
     {
-        super(properties, logger);        
+        super(properties);
+        this.logger = logger;
     }
     
     public StandaloneLifeCycle()
     {
-        this(null, logger);        
+        this(null, WebBeansLogger.getLogger(StandaloneLifeCycle.class));        
     }
     
     @Override

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
Sat Aug 21 13:49:53 2010
@@ -51,7 +51,7 @@ import org.apache.webbeans.spi.plugins.O
 public class PluginLoader
 {
     /**Logger instance*/
-    private static WebBeansLogger logger = WebBeansLogger.getLogger(PluginLoader.class);
+    private  final WebBeansLogger logger = WebBeansLogger.getLogger(PluginLoader.class);
 
     /** unmodifiable list with all found OWB plugins */
     private List<OpenWebBeansPlugin> plugins = null;

Modified: openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
(original)
+++ openwebbeans/trunk/webbeans-jsf/src/main/java/org/apache/webbeans/jsf/WebBeansPhaseListener.java
Sat Aug 21 13:49:53 2010
@@ -42,7 +42,7 @@ public class WebBeansPhaseListener imple
     private static final long serialVersionUID = 1L;
 
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansPhaseListener.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansPhaseListener.class);
     
     /**
      * {@inheritDoc}

Modified: openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
(original)
+++ openwebbeans/trunk/webbeans-jsf12/src/main/java/org/apache/webbeans/jsf12/WebBeansPhaseListener.java
Sat Aug 21 13:49:53 2010
@@ -42,7 +42,7 @@ public class WebBeansPhaseListener imple
     private static final long serialVersionUID = 1L;
 
     /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansPhaseListener.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(WebBeansPhaseListener.class);
     
     /**
      * {@inheritDoc}

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
Sat Aug 21 13:49:53 2010
@@ -34,7 +34,6 @@ import javax.servlet.http.HttpSession;
 import org.apache.webbeans.context.ConversationContext;
 import org.apache.webbeans.context.SessionContext;
 import org.apache.webbeans.conversation.ConversationManager;
-import org.apache.webbeans.logger.WebBeansLogger;
 import org.apache.webbeans.spi.FailOverService;
 import org.apache.webbeans.web.context.SessionContextManager;
 
@@ -50,9 +49,6 @@ public class FailOverBag implements Seri
      */
     private static final long serialVersionUID = -6314819837009653189L;
     
-    /**Logger instance*/
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(DefaultOwbFailOverService.class);
-
     String sessionId;
 
     String owbFailoverJVMId;

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
Sat Aug 21 13:49:53 2010
@@ -46,7 +46,7 @@ import javassist.util.proxy.ProxyObjectO
 public class FailOverBagWrapper implements Serializable, Externalizable 
 {
     /**Logger instance*/
-    private static final WebBeansLogger logger = 
+    private  final WebBeansLogger logger = 
             WebBeansLogger.getLogger(FailOverBagWrapper.class);
 
     private transient FailOverService failoverService;

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
Sat Aug 21 13:49:53 2010
@@ -53,9 +53,6 @@ import org.apache.webbeans.spi.adaptor.E
  */
 public final class WebContainerLifecycle extends AbstractLifeCycle
 {
-    //Logger instance
-    private static final WebBeansLogger logger = WebBeansLogger.getLogger(WebContainerLifecycle.class);
-
     /**Manages unused conversations*/
     private ScheduledExecutorService service = null;
 
@@ -66,7 +63,8 @@ public final class WebContainerLifecycle
      */
     public WebContainerLifecycle()
     {
-        super(null,logger);
+        super(null);
+        this.logger = WebBeansLogger.getLogger(WebContainerLifecycle.class);
     }
 
 

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java?rev=987758&r1=987757&r2=987758&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/scanner/WebScannerService.java
Sat Aug 21 13:49:53 2010
@@ -36,7 +36,7 @@ import org.scannotation.WarUrlFinder;
  */
 public class WebScannerService extends AbstractMetaDataDiscovery
 {
-    private WebBeansLogger logger = WebBeansLogger.getLogger(WebScannerService.class);
+    private final WebBeansLogger logger = WebBeansLogger.getLogger(WebScannerService.class);
 
     private boolean configure = false;
 



Mime
View raw message