Class PortletApplicationDeployer
java.lang.Object
org.gatein.pc.portlet.impl.deployment.PortletApplicationDeployer
- All Implemented Interfaces:
PortletApplicationRegistry
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(javax.servlet.ServletContext webApp) voidprotected PortletApplication10MetaDatabuildPortletApplicationMetaData(javax.servlet.ServletContext webApp) protected PortletApplicationDeploymentcreatePortletApplicationDeployment(javax.servlet.ServletContext webApp, PortletApplication10MetaData metaData) Return a portlet app using its id or null if it does not exist.Collection<? extends ManagedPortletApplication>Return an immutable list all the known portlet application in the registry.booleanfinal voidremove(javax.servlet.ServletContext webApp) voidvoidsetContainerPortletInvoker(ContainerPortletInvoker containerPortletInvoker) voidsetSchemaValidated(boolean schemaValidated)
-
Field Details
-
log
protected final org.exoplatform.services.log.Log log.
-
-
Constructor Details
-
PortletApplicationDeployer
-
PortletApplicationDeployer
public PortletApplicationDeployer()
-
-
Method Details
-
isSchemaValidated
public boolean isSchemaValidated() -
setSchemaValidated
public void setSchemaValidated(boolean schemaValidated) -
getContainerPortletInvoker
-
setContainerPortletInvoker
-
add
public final PortletApplicationDeployment add(javax.servlet.ServletContext webApp) throws DeploymentException - Throws:
DeploymentException
-
remove
public final void remove(javax.servlet.ServletContext webApp) -
createPortletApplicationDeployment
protected PortletApplicationDeployment createPortletApplicationDeployment(javax.servlet.ServletContext webApp, PortletApplication10MetaData metaData) -
buildPortletApplicationMetaData
protected PortletApplication10MetaData buildPortletApplicationMetaData(javax.servlet.ServletContext webApp) throws DeploymentException - Throws:
DeploymentException
-
getManagedPortletApplications
Description copied from interface:PortletApplicationRegistryReturn an immutable list all the known portlet application in the registry.- Specified by:
getManagedPortletApplicationsin interfacePortletApplicationRegistry- Returns:
- the registered portlet applications
-
getManagedPortletApplication
Description copied from interface:PortletApplicationRegistryReturn a portlet app using its id or null if it does not exist.- Specified by:
getManagedPortletApplicationin interfacePortletApplicationRegistry- Parameters:
id- the portlet application id- Returns:
- a specified registered portlet application
-
addListener
- Specified by:
addListenerin interfacePortletApplicationRegistry
-
removeListener
- Specified by:
removeListenerin interfacePortletApplicationRegistry
-