[jboss-user] [JBoss Portal] - Re: PortletApplicationRegistryListener
viniciuscarvalho
do-not-reply at jboss.com
Wed Jun 18 08:56:27 EDT 2008
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158974#4158974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158974
More information about the jboss-user
mailing list