NOTE: In the version of the example portlet that I found, I looked thru the jboss-service.xml and it had parts for each version of the Portal (2.2 vs. 2.4).
The newest example up on portletswap does not have this =/ But basically it is the following: | <server> | <!-- For 2.4 | <mbean code="org.jboss.portal.core.event.PortalEventListenerServiceImpl" | name="portal:service=ListenerService,type=ipc_listener" | xmbean-dd="" | xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean"> | <depends optional-attribute-name="Registry" proxy-type="attribute">portal:service=ListenerRegistry</depends> | <xmbean/> | <attribute name="RegistryId">ipc_listener</attribute> | <attribute name="ListenerClassName">org.jboss.portlet.hello.HelloWorldPortletB$Listener</attribute> | </mbean> | --> | <!-- Portal 2.2 --> | <mbean | code="org.jboss.portal.core.event.PortalEventListenerServiceImpl" | name="portal:service=ListenerService,type=ipc_listener" | xmbean-dd="org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml"> | <depends optional-attribute-name="Registry" proxy-type="attribute">portal:service=ListenerRegistry</depends> | <attribute name="RegistryId">ipc_listener</attribute> | <attribute name="ListenerClassName">org.jboss.portlet.hello.HelloWorldPortletB$Listener</attribute> | </mbean> | </server> | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974668#3974668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974668 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
