org.apache.jetspeed.factory
Class JetspeedPortletFactory
java.lang.Object
org.apache.jetspeed.factory.JetspeedPortletFactory
- All Implemented Interfaces:
- PortletFactory
public class JetspeedPortletFactory
- extends java.lang.Object
- implements PortletFactory
JetspeedPortletFactory
- Version:
- $Id: JetspeedPortletFactory.java 593513 2007-11-09 12:48:34Z woonsan $
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JetspeedPortletFactory
public JetspeedPortletFactory()
JetspeedPortletFactory
public JetspeedPortletFactory(boolean autoSwitchConfigMode,
boolean autoSwitchEditDefaultsModeToEditMode)
setPortletProxyUsed
public void setPortletProxyUsed(boolean portletProxyUsed)
getPortletProxyUsed
public boolean getPortletProxyUsed()
setCustomConfigModePortletUniqueName
public void setCustomConfigModePortletUniqueName(java.lang.String customConfigModePortletUniqueName)
getCustomConfigModePortletUniqueName
public java.lang.String getCustomConfigModePortletUniqueName()
registerPortletApplication
public void registerPortletApplication(PortletApplication pa,
java.lang.ClassLoader cl)
- Specified by:
registerPortletApplication
in interface PortletFactory
unregisterPortletApplication
public void unregisterPortletApplication(PortletApplication pa)
- Specified by:
unregisterPortletApplication
in interface PortletFactory
getPreferencesValidator
public javax.portlet.PreferencesValidator getPreferencesValidator(org.apache.pluto.om.portlet.PortletDefinition pd)
- Specified by:
getPreferencesValidator
in interface PortletFactory
getPortletInstance
public PortletInstance getPortletInstance(javax.servlet.ServletContext servletContext,
org.apache.pluto.om.portlet.PortletDefinition pd)
throws javax.portlet.PortletException
- Gets a portlet by either creating it or returning a handle to it from the portlet 'cache'
- Specified by:
getPortletInstance
in interface PortletFactory
- Parameters:
portletDefinition
- The definition of the portlet
- Returns:
- PortletInstance
- Throws:
javax.portlet.PortletException
updatePortletConfig
public void updatePortletConfig(org.apache.pluto.om.portlet.PortletDefinition pd)
- Specified by:
updatePortletConfig
in interface PortletFactory
getPortletApplicationClassLoader
public java.lang.ClassLoader getPortletApplicationClassLoader(PortletApplication pa)
- Specified by:
getPortletApplicationClassLoader
in interface PortletFactory
isPortletApplicationRegistered
public boolean isPortletApplicationRegistered(PortletApplication pa)
- Specified by:
isPortletApplicationRegistered
in interface PortletFactory
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.