Tuesday, April 1, 2008

InterPortlet Communication Steps

Inter Portlet Communication:

Step 1

Use the service.xml

In that make sure that the mbean type and mbean register id should match

Get the entry of implementation class in the service.xml file

Step 2

Write –Object.xml, in that provide the listener element and mention the mbean type that u mentioned in the service.xml

Step 3

Write the class that implements Portalnodeeventlistener

This interface has got the default method called onEvent(PortletnodeEventBubbler bubler, PortalnodeEvent event )

No comments: