public void removePortletRegistryListener(PortletRegistryListener listener) {
registryListeners.remove(listener);
}
private void fireRegistered(InternalPortletContext context) {
PortletRegistryEvent event = new PortletRegistryEvent();
event.setApplicationId(context.getApplicationId());
event.setPortletApplicationDescriptor(context.getPortletApplicationDefinition());
Iterator i = registryListeners.iterator();
while (i.hasNext()) {
((PortletRegistryListener) i.next()).portletApplicationRegistered(event);
}