Author: julien(a)jboss.com
Date: 2007-08-19 18:19:15 -0400 (Sun, 19 Aug 2007)
New Revision: 7997
Modified:
branches/JBoss_Portal_Branch_2_6/portlet-federation/src/main/org/jboss/portal/portlet/federation/impl/PortletInvokerRegistrationService.java
branches/JBoss_Portal_Branch_2_6/server/src/main/org/jboss/portal/web/jboss/JBossWebContext.java
Log:
- update to use latest web module snapshot
- fix the PortletInvokerRegistrationService life cycle callbacks that were not properly
written (since I removed the subclassing of AbstractJBossService)
Modified:
branches/JBoss_Portal_Branch_2_6/portlet-federation/src/main/org/jboss/portal/portlet/federation/impl/PortletInvokerRegistrationService.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/portlet-federation/src/main/org/jboss/portal/portlet/federation/impl/PortletInvokerRegistrationService.java 2007-08-19
21:19:58 UTC (rev 7996)
+++
branches/JBoss_Portal_Branch_2_6/portlet-federation/src/main/org/jboss/portal/portlet/federation/impl/PortletInvokerRegistrationService.java 2007-08-19
22:19:15 UTC (rev 7997)
@@ -74,12 +74,12 @@
this.federatingPortletInvoker = federatingPortletInvoker;
}
- protected void startService() throws Exception
+ public void start() throws Exception
{
federatingPortletInvoker.registerInvoker(id, portletInvoker);
}
- protected void stopService() throws Exception
+ public void stop() throws Exception
{
federatingPortletInvoker.unregisterInvoker(id);
}
Modified:
branches/JBoss_Portal_Branch_2_6/server/src/main/org/jboss/portal/web/jboss/JBossWebContext.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/server/src/main/org/jboss/portal/web/jboss/JBossWebContext.java 2007-08-19
21:19:58 UTC (rev 7996)
+++
branches/JBoss_Portal_Branch_2_6/server/src/main/org/jboss/portal/web/jboss/JBossWebContext.java 2007-08-19
22:19:15 UTC (rev 7997)
@@ -26,6 +26,7 @@
import org.jboss.portal.server.servlet.ServletCommand;
import org.jboss.portal.web.spi.ServletContainerContext;
import org.jboss.portal.web.RequestDispatchCallback;
+import org.jboss.portal.web.WebAppListener;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
@@ -141,4 +142,14 @@
}
}
}
+
+ public boolean addWebAppListener(WebAppListener webAppListener) throws
IllegalArgumentException
+ {
+ throw new UnsupportedOperationException("Not implemented in 2.6");
+ }
+
+ public boolean removeWebAppListener(WebAppListener webAppListener) throws
IllegalArgumentException
+ {
+ throw new UnsupportedOperationException("Not implemented in 2.6");
+ }
}
Show replies by date