public void removePortletRegistryListener(PortletRegistryListener listener) {
registryListeners.remove(listener);
}
private void fireRegistered(DriverPortletContext context) {
PortletRegistryEvent event = new PortletRegistryEvent();
event.setPortletApplication(context.getPortletApplicationDefinition());
for (PortletRegistryListener l : registryListeners) {
l.portletApplicationRegistered(event);
}
logger.info("Portlet Context '/" + context.getApplicationName() + "' registered.");