Class PortletApplicationDeployer
- java.lang.Object
-
- org.gatein.pc.portlet.impl.deployment.PortletApplicationDeployer
-
- All Implemented Interfaces:
PortletApplicationRegistry
public class PortletApplicationDeployer extends Object implements PortletApplicationRegistry
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
-
Field Summary
Fields Modifier and Type Field Description protected org.exoplatform.services.log.Loglog.
-
Constructor Summary
Constructors Constructor Description PortletApplicationDeployer()PortletApplicationDeployer(ContainerPortletInvoker containerPortletInvoker)
-
Method Summary
-
-
-
Constructor Detail
-
PortletApplicationDeployer
public PortletApplicationDeployer(ContainerPortletInvoker containerPortletInvoker)
-
PortletApplicationDeployer
public PortletApplicationDeployer()
-
-
Method Detail
-
isSchemaValidated
public boolean isSchemaValidated()
-
setSchemaValidated
public void setSchemaValidated(boolean schemaValidated)
-
getContainerPortletInvoker
public ContainerPortletInvoker getContainerPortletInvoker()
-
setContainerPortletInvoker
public void setContainerPortletInvoker(ContainerPortletInvoker containerPortletInvoker)
-
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
public Collection<? extends ManagedPortletApplication> 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
public ManagedPortletApplication getManagedPortletApplication(String id)
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
public void addListener(ManagedObjectRegistryEventListener listener)
- Specified by:
addListenerin interfacePortletApplicationRegistry
-
removeListener
public void removeListener(ManagedObjectRegistryEventListener listener)
- Specified by:
removeListenerin interfacePortletApplicationRegistry
-
-