001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet;
016    
017    /**
018     * @author Michael C. Han
019     */
020    public class MonitoringPortletManager implements MonitoringPortletManagerMBean {
021    
022            @Override
023            public boolean isMonitoringPortletActionRequest() {
024                    return MonitoringPortlet.isMonitoringPortletActionRequest();
025            }
026    
027            @Override
028            public boolean isMonitoringPortletEventRequest() {
029                    return MonitoringPortlet.isMonitoringPortletEventRequest();
030            }
031    
032            @Override
033            public boolean isMonitoringPortletRenderRequest() {
034                    return MonitoringPortlet.isMonitoringPortletRenderRequest();
035            }
036    
037            @Override
038            public boolean isMonitoringPortletResourceRequest() {
039                    return MonitoringPortlet.isMonitoringPortletResourceRequest();
040            }
041    
042            @Override
043            public void setMonitoringPortletActionRequest(
044                    boolean monitoringPortletActionRequest) {
045    
046                    MonitoringPortlet.setMonitoringPortletActionRequest(
047                            monitoringPortletActionRequest);
048            }
049    
050            @Override
051            public void setMonitoringPortletEventRequest(
052                    boolean monitoringPortletEventRequest) {
053    
054                    MonitoringPortlet.setMonitoringPortletEventRequest(
055                            monitoringPortletEventRequest);
056            }
057    
058            @Override
059            public void setMonitoringPortletRenderRequest(
060                    boolean monitoringPortletRenderRequest) {
061    
062                    MonitoringPortlet.setMonitoringPortletRenderRequest(
063                            monitoringPortletRenderRequest);
064            }
065    
066            @Override
067            public void setMonitoringPortletResourceRequest(
068                    boolean monitoringPortletResourceRequest) {
069    
070                    MonitoringPortlet.setMonitoringPortletResourceRequest(
071                            monitoringPortletResourceRequest);
072            }
073    
074    }