001    /**
002     * Copyright (c) 2000-2010 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            public boolean isMonitoringPortletActionRequest() {
023                    return MonitoringPortlet.isMonitoringPortletActionRequest();
024            }
025    
026            public boolean isMonitoringPortletEventRequest() {
027                    return MonitoringPortlet.isMonitoringPortletEventRequest();
028            }
029    
030            public boolean isMonitoringPortletRenderRequest() {
031                    return MonitoringPortlet.isMonitoringPortletRenderRequest();
032            }
033    
034            public boolean isMonitoringPortletResourceRequest() {
035                    return MonitoringPortlet.isMonitoringPortletResourceRequest();
036            }
037    
038            public void setMonitoringPortletActionRequest(
039                    boolean monitoringPortletActionRequest) {
040    
041                    MonitoringPortlet.setMonitoringPortletActionRequest(
042                            monitoringPortletActionRequest);
043            }
044    
045            public void setMonitoringPortletEventRequest(
046                    boolean monitoringPortletEventRequest) {
047    
048                    MonitoringPortlet.setMonitoringPortletEventRequest(
049                            monitoringPortletEventRequest);
050            }
051    
052            public void setMonitoringPortletRenderRequest(
053                    boolean monitoringPortletRenderRequest) {
054    
055                    MonitoringPortlet.setMonitoringPortletRenderRequest(
056                            monitoringPortletRenderRequest);
057            }
058    
059            public void setMonitoringPortletResourceRequest(
060                    boolean monitoringPortletResourceRequest) {
061    
062                    MonitoringPortlet.setMonitoringPortletResourceRequest(
063                            monitoringPortletResourceRequest);
064            }
065    
066    }