}
// The requested method is ADMIN: call handlers.
else if (methodId == Constants.METHOD_ADMIN) {
ContainerInvocation inv = ContainerInvocation.getInvocation();
PortalAdministrationService pas =
inv.getPortletContainer()
.getOptionalContainerServices()
.getPortalAdministrationService();
Iterator it = pas.getAdministrativeRequestListeners().iterator();
while (it.hasNext()) {
AdministrativeRequestListener l = (AdministrativeRequestListener) it.next();
l.administer(portletRequest, portletResponse);
}
}