001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    import javax.portlet.EventPortlet;
020    import javax.portlet.Portlet;
021    import javax.portlet.PortletConfig;
022    import javax.portlet.PortletContext;
023    import javax.portlet.PortletException;
024    import javax.portlet.ResourceServingPortlet;
025    
026    /**
027     * @author Michael Young
028     */
029    @ProviderType
030    public interface InvokerPortlet
031            extends EventPortlet, Portlet, ResourceServingPortlet {
032    
033            public static final String INIT_INVOKER_PORTLET_NAME =
034                    "com.liferay.portal.invokerPortletName";
035    
036            public Integer getExpCache();
037    
038            public Portlet getPortlet();
039    
040            public ClassLoader getPortletClassLoader();
041    
042            public PortletConfig getPortletConfig();
043    
044            public PortletContext getPortletContext();
045    
046            public Portlet getPortletInstance();
047    
048            public boolean isCheckAuthToken();
049    
050            public boolean isFacesPortlet();
051    
052            public boolean isStrutsBridgePortlet();
053    
054            public boolean isStrutsPortlet();
055    
056            public void setPortletFilters() throws PortletException;
057    
058    }