chain.doFilter(req, resp);
}
}
private ApplicationStatistic get(PortletRequest req) {
PortalContainer container = PortalContainer.getInstance();
ApplicationStatisticService service = (ApplicationStatisticService) container
.getComponentInstance(ApplicationStatisticService.class);
if (service != null) {
PortletConfig portletConfig = (PortletConfig) req.getAttribute("javax.portlet.config");
String portletName = portletConfig.getPortletName();
String phase = (String) req.getAttribute(PortletRequest.LIFECYCLE_PHASE);