[jboss-svn-commits] JBoss Portal SVN: r5223 - trunk/portlet/src/main/org/jboss/portal/portlet/container

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Sep 18 18:02:55 EDT 2006


Author: chris.laprun at jboss.com
Date: 2006-09-18 18:02:54 -0400 (Mon, 18 Sep 2006)
New Revision: 5223

Modified:
   trunk/portlet/src/main/org/jboss/portal/portlet/container/PortletContainer.java
Log:
JBPORTAL-1020: Replaced use of Log4J by JBoss Logging.

Modified: trunk/portlet/src/main/org/jboss/portal/portlet/container/PortletContainer.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/container/PortletContainer.java	2006-09-18 22:01:24 UTC (rev 5222)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/container/PortletContainer.java	2006-09-18 22:02:54 UTC (rev 5223)
@@ -21,48 +21,48 @@
 */
 package org.jboss.portal.portlet.container;
 
-import org.apache.log4j.Logger;
+import org.jboss.logging.Logger;
 import org.jboss.portal.common.concurrent.Valve;
 import org.jboss.portal.common.invocation.InvocationException;
+import org.jboss.portal.portlet.PortletInvokerException;
+import org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor;
+import org.jboss.portal.portlet.container.info.ContainerPortletInfo;
+import org.jboss.portal.portlet.container.info.ContentTypes;
+import org.jboss.portal.portlet.container.info.PortletResourceBundleManager;
+import org.jboss.portal.portlet.impl.jsr168.APIConstants;
+import org.jboss.portal.portlet.impl.jsr168.APIFactory;
 import org.jboss.portal.portlet.impl.jsr168.ActionRequestImpl;
 import org.jboss.portal.portlet.impl.jsr168.ActionResponseImpl;
 import org.jboss.portal.portlet.impl.jsr168.PortletConfigImpl;
 import org.jboss.portal.portlet.impl.jsr168.RenderRequestImpl;
 import org.jboss.portal.portlet.impl.jsr168.RenderResponseImpl;
-import org.jboss.portal.portlet.impl.jsr168.APIConstants;
-import org.jboss.portal.portlet.impl.jsr168.APIFactory;
-import org.jboss.portal.portlet.container.info.ContainerPortletInfo;
-import org.jboss.portal.portlet.container.info.ContentTypes;
-import org.jboss.portal.portlet.info.PortletInfo;
+import org.jboss.portal.portlet.impl.jsr168.metadata.ParameterMetaData;
 import org.jboss.portal.portlet.impl.jsr168.metadata.PortletMetaData;
+import org.jboss.portal.portlet.impl.jsr168.metadata.PortletPreferencesMetaData;
 import org.jboss.portal.portlet.impl.jsr168.metadata.SecurityRoleRefMetaData;
-import org.jboss.portal.portlet.container.info.PortletResourceBundleManager;
+import org.jboss.portal.portlet.info.PortletInfo;
 import org.jboss.portal.portlet.invocation.ActionInvocation;
 import org.jboss.portal.portlet.invocation.PortletInvocation;
 import org.jboss.portal.portlet.invocation.RenderInvocation;
-import org.jboss.portal.portlet.impl.jsr168.metadata.ParameterMetaData;
-import org.jboss.portal.portlet.impl.jsr168.metadata.PortletPreferencesMetaData;
 import org.jboss.portal.portlet.metadata.JBossPortletMetaData;
 import org.jboss.portal.portlet.result.ErrorResult;
 import org.jboss.portal.portlet.result.Result;
 import org.jboss.portal.portlet.result.SecurityErrorResult;
 import org.jboss.portal.portlet.result.UnavailableResult;
-import org.jboss.portal.portlet.PortletInvokerException;
-import org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor;
 
 import javax.portlet.Portlet;
 import javax.portlet.PortletConfig;
 import javax.portlet.PortletException;
 import javax.portlet.PortletSecurityException;
-import javax.portlet.UnavailableException;
 import javax.portlet.PreferencesValidator;
+import javax.portlet.UnavailableException;
 import javax.servlet.http.HttpServletRequest;
+import java.io.IOException;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
-import java.io.IOException;
 
 /**
  * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
@@ -114,8 +114,8 @@
    protected PortletInfo info;
 
    /**
-    * The preference validator, this is not exposed as runtime meta data as it is only used
-    * by the JSR 168 portlet container implementation.
+    * The preference validator, this is not exposed as runtime meta data as it is only used by the JSR 168 portlet
+    * container implementation.
     */
    protected PreferencesValidator preferencesValidator;
 
@@ -374,9 +374,7 @@
       return "[PortletContainer=" + getId() + "]";
    }
 
-   /**
-    * Initialize the portlet.
-    */
+   /** Initialize the portlet. */
    private void initPortlet(Portlet portlet, PortletConfig config) throws PortletException
    {
       ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
@@ -393,9 +391,7 @@
       }
    }
 
-   /**
-    * Destroy the portlet.
-    */
+   /** Destroy the portlet. */
    private void destroyPortlet(Portlet portlet)
    {
       ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();




More information about the jboss-svn-commits mailing list