001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }