This content has been marked as final.
Show 1 reply
-
1. Re: PortletApplicationRegistryListener
viniciuscarvalho Jun 18, 2008 8:56 AM (in response to viniciuscarvalho)ok I got it working. Just would like to share for others :
public void start() throws Exception { MBeanServer server = MBeanServerLocator.locateJBoss(); ObjectName name = new ObjectName("portal:service=WebAppRegistry"); server.invoke(name, "addListener", new Object[]{new JBossPortletApplicationRegistryListener()}, new String[] {"org.jboss.portal.portlet.container.PortletApplicationRegistryListener"}); }
Now I have notifications from the portlets being deployed. Is there any way of opening their web modules? I need to look for an specific file inside the war.
Regards