|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.factory.JetspeedPortletFactory
public class JetspeedPortletFactory
JetspeedPortletFactory
Field Summary | |
---|---|
private boolean |
autoSwitchConfigMode
Flag whether the instantiated proxy will switch config mode to built-in config edit page or not. |
private boolean |
autoSwitchEditDefaultsModeToEditMode
Flag whether the instantiated proxy will switch edit_defaults mode to edit mode automatically or not. |
private Map |
classLoaderMap
|
private String |
customConfigModePortletUniqueName
|
private static org.apache.commons.logging.Log |
log
|
private Map |
portletCache
|
private boolean |
portletProxyUsed
Flag whether this factory will create proxy instances for actual portlet instances or not. |
private Map |
validatorCache
|
Constructor Summary | |
---|---|
JetspeedPortletFactory()
|
|
JetspeedPortletFactory(boolean autoSwitchConfigMode,
boolean autoSwitchEditDefaultsModeToEditMode)
|
Method Summary | |
---|---|
String |
getCustomConfigModePortletUniqueName()
|
ClassLoader |
getPortletApplicationClassLoader(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
|
org.apache.jetspeed.factory.PortletInstance |
getPortletInstance(javax.servlet.ServletContext servletContext,
org.apache.pluto.om.portlet.PortletDefinition pd)
Gets a portlet by either creating it or returning a handle to it from the portlet 'cache' |
boolean |
getPortletProxyUsed()
|
javax.portlet.PreferencesValidator |
getPreferencesValidator(org.apache.pluto.om.portlet.PortletDefinition pd)
|
boolean |
isPortletApplicationRegistered(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
|
void |
registerPortletApplication(org.apache.jetspeed.om.common.portlet.PortletApplication pa,
ClassLoader cl)
|
void |
setCustomConfigModePortletUniqueName(String customConfigModePortletUniqueName)
|
void |
setPortletProxyUsed(boolean portletProxyUsed)
|
void |
unregisterPortletApplication(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
|
void |
updatePortletConfig(org.apache.pluto.om.portlet.PortletDefinition pd)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Map portletCache
private Map validatorCache
private static final org.apache.commons.logging.Log log
private final Map classLoaderMap
private boolean portletProxyUsed
private boolean autoSwitchEditDefaultsModeToEditMode
private boolean autoSwitchConfigMode
private String customConfigModePortletUniqueName
Constructor Detail |
---|
public JetspeedPortletFactory()
public JetspeedPortletFactory(boolean autoSwitchConfigMode, boolean autoSwitchEditDefaultsModeToEditMode)
Method Detail |
---|
public void setPortletProxyUsed(boolean portletProxyUsed)
public boolean getPortletProxyUsed()
public void setCustomConfigModePortletUniqueName(String customConfigModePortletUniqueName)
public String getCustomConfigModePortletUniqueName()
public void registerPortletApplication(org.apache.jetspeed.om.common.portlet.PortletApplication pa, ClassLoader cl)
registerPortletApplication
in interface org.apache.jetspeed.factory.PortletFactory
public void unregisterPortletApplication(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
unregisterPortletApplication
in interface org.apache.jetspeed.factory.PortletFactory
public javax.portlet.PreferencesValidator getPreferencesValidator(org.apache.pluto.om.portlet.PortletDefinition pd)
getPreferencesValidator
in interface org.apache.jetspeed.factory.PortletFactory
public org.apache.jetspeed.factory.PortletInstance getPortletInstance(javax.servlet.ServletContext servletContext, org.apache.pluto.om.portlet.PortletDefinition pd) throws javax.portlet.PortletException
getPortletInstance
in interface org.apache.jetspeed.factory.PortletFactory
portletDefinition
- The definition of the portlet
javax.portlet.PortletException
public void updatePortletConfig(org.apache.pluto.om.portlet.PortletDefinition pd)
updatePortletConfig
in interface org.apache.jetspeed.factory.PortletFactory
public ClassLoader getPortletApplicationClassLoader(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
getPortletApplicationClassLoader
in interface org.apache.jetspeed.factory.PortletFactory
public boolean isPortletApplicationRegistered(org.apache.jetspeed.om.common.portlet.PortletApplication pa)
isPortletApplicationRegistered
in interface org.apache.jetspeed.factory.PortletFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |