public class PortletBagFactory
extends java.lang.Object
| Constructor and Description |
|---|
PortletBagFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.portlet.PortletBag |
create(com.liferay.portal.model.Portlet portlet) |
protected java.lang.String |
getContent(java.lang.String fileName) |
protected java.lang.String |
getPluginPropertyValue(java.lang.String propertyKey) |
protected javax.portlet.Portlet |
getPortletInstance(com.liferay.portal.model.Portlet portlet) |
protected <S> com.liferay.registry.collections.ServiceTrackerList<S> |
getServiceTrackerList(java.lang.Class<S> clazz,
com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.asset.model.AssetRendererFactory<?>> |
newAssetRendererFactoryInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> |
newAtomCollectionAdapterInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.portlet.ConfigurationAction> |
newConfigurationActions(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.ControlPanelEntry> |
newControlPanelEntryInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> |
newCustomAttributesDisplayInstances(com.liferay.portal.model.Portlet portlet) |
protected com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker |
newFriendlyURLMappers(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.search.Indexer<?>> |
newIndexers(com.liferay.portal.model.Portlet portlet) |
protected java.lang.Object |
newInstance(java.lang.Class<?>[] interfaceClasses,
java.lang.String implClassName) |
protected java.lang.Object |
newInstance(java.lang.Class<?> interfaceClass,
java.lang.String implClassName) |
protected java.util.List<com.liferay.portal.kernel.search.OpenSearch> |
newOpenSearches(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.security.permission.PermissionPropagator> |
newPermissionPropagators(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.poller.PollerProcessor> |
newPollerProcessors(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.pop.MessageListener> |
newPOPMessageListeners(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.exportimport.lar.PortletDataHandler> |
newPortletDataHandlers(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.portlet.PortletLayoutListener> |
newPortletLayoutListeners(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<javax.portlet.PreferencesValidator> |
newPreferencesValidatorInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListener> |
newSchedulerEventMessageListeners(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter> |
newSocialActivityInterpreterInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.social.model.SocialRequestInterpreter> |
newSocialRequestInterpreterInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portlet.exportimport.lar.StagedModelDataHandler<?>> |
newStagedModelDataHandler(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.template.TemplateHandler> |
newTemplateHandlers(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.trash.TrashHandler> |
newTrashHandlerInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.servlet.URLEncoder> |
newURLEncoders(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationDefinition> |
newUserNotificationDefinitionInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationHandler> |
newUserNotificationHandlerInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.webdav.WebDAVStorage> |
newWebDAVStorageInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.workflow.WorkflowHandler<?>> |
newWorkflowHandlerInstances(com.liferay.portal.model.Portlet portlet) |
protected java.util.List<com.liferay.portal.kernel.xmlrpc.Method> |
newXmlRpcMethodInstances(com.liferay.portal.model.Portlet portlet) |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
setWARFile(boolean warFile) |
protected void |
validate() |
public com.liferay.portal.kernel.portlet.PortletBag create(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionpublic void setClassLoader(java.lang.ClassLoader classLoader)
public void setServletContext(javax.servlet.ServletContext servletContext)
public void setWARFile(boolean warFile)
protected java.lang.String getContent(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getPluginPropertyValue(java.lang.String propertyKey)
throws java.lang.Exception
java.lang.Exceptionprotected javax.portlet.Portlet getPortletInstance(com.liferay.portal.model.Portlet portlet)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionprotected <S> com.liferay.registry.collections.ServiceTrackerList<S> getServiceTrackerList(java.lang.Class<S> clazz,
com.liferay.portal.model.Portlet portlet)
protected java.util.List<com.liferay.portlet.asset.model.AssetRendererFactory<?>> newAssetRendererFactoryInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.atom.AtomCollectionAdapter<?>> newAtomCollectionAdapterInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.portlet.ConfigurationAction> newConfigurationActions(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.ControlPanelEntry> newControlPanelEntryInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.expando.model.CustomAttributesDisplay> newCustomAttributesDisplayInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected com.liferay.portal.kernel.portlet.FriendlyURLMapperTracker newFriendlyURLMappers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.search.Indexer<?>> newIndexers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.Object newInstance(java.lang.Class<?> interfaceClass,
java.lang.String implClassName)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.Object newInstance(java.lang.Class<?>[] interfaceClasses,
java.lang.String implClassName)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.search.OpenSearch> newOpenSearches(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.security.permission.PermissionPropagator> newPermissionPropagators(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.poller.PollerProcessor> newPollerProcessors(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.pop.MessageListener> newPOPMessageListeners(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.exportimport.lar.PortletDataHandler> newPortletDataHandlers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.portlet.PortletLayoutListener> newPortletLayoutListeners(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<javax.portlet.PreferencesValidator> newPreferencesValidatorInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListener> newSchedulerEventMessageListeners(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.social.model.SocialActivityInterpreter> newSocialActivityInterpreterInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.social.model.SocialRequestInterpreter> newSocialRequestInterpreterInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portlet.exportimport.lar.StagedModelDataHandler<?>> newStagedModelDataHandler(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.template.TemplateHandler> newTemplateHandlers(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.trash.TrashHandler> newTrashHandlerInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.servlet.URLEncoder> newURLEncoders(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationDefinition> newUserNotificationDefinitionInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.notifications.UserNotificationHandler> newUserNotificationHandlerInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.webdav.WebDAVStorage> newWebDAVStorageInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.workflow.WorkflowHandler<?>> newWorkflowHandlerInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.xmlrpc.Method> newXmlRpcMethodInstances(com.liferay.portal.model.Portlet portlet)
throws java.lang.Exception
java.lang.Exceptionprotected void validate()