org.exoplatform.services.portletcontainer.plugins.pc
Class PortletApplicationRegisterImpl

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationRegisterImpl
All Implemented Interfaces:
PortletApplicationRegister

public class PortletApplicationRegisterImpl
extends java.lang.Object
implements PortletApplicationRegister

Author:
Benjamin Mestrallet benjamin.mestrallet@exoplatform.com

Field Summary
protected  org.exoplatform.container.ExoContainer appcont
          Application exo container.
 
Constructor Summary
PortletApplicationRegisterImpl(org.exoplatform.container.ExoContainerContext context, PortletApplicationsHolder holder)
           
 
Method Summary
 void addListenerPlugin(org.exoplatform.container.component.ComponentPlugin listener)
          Overridden method.
 java.util.Collection<PortletLifecycleListener> getListeners()
           
 void registerPortletApplication(javax.servlet.ServletContext servletContext, PortletApp portletApp_, java.util.Collection<java.lang.String> roles, java.lang.String portletAppName)
          Overridden method.
 org.exoplatform.container.component.ComponentPlugin removeListener(java.lang.String name)
           
 void removePortletApplication(javax.servlet.ServletContext servletContext, java.lang.String portletAppName)
          Overridden method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appcont

protected org.exoplatform.container.ExoContainer appcont
Application exo container.

Constructor Detail

PortletApplicationRegisterImpl

public PortletApplicationRegisterImpl(org.exoplatform.container.ExoContainerContext context,
                                      PortletApplicationsHolder holder)
Parameters:
context - exo container context
holder - application holder
Method Detail

addListenerPlugin

public final void addListenerPlugin(org.exoplatform.container.component.ComponentPlugin listener)
Overridden method.

Specified by:
addListenerPlugin in interface PortletApplicationRegister
Parameters:
listener - listener
See Also:
PortletApplicationRegister.addListenerPlugin(org.exoplatform.container.component.ComponentPlugin)

removeListener

public final org.exoplatform.container.component.ComponentPlugin removeListener(java.lang.String name)
Parameters:
name - listener name
Returns:
removed listener

getListeners

public final java.util.Collection<PortletLifecycleListener> getListeners()
Returns:
listener collection

registerPortletApplication

public final void registerPortletApplication(javax.servlet.ServletContext servletContext,
                                             PortletApp portletApp_,
                                             java.util.Collection<java.lang.String> roles,
                                             java.lang.String portletAppName)
                                      throws PortletContainerException
Overridden method.

Specified by:
registerPortletApplication in interface PortletApplicationRegister
Parameters:
servletContext - servlet context
portletApp_ - portlet app instance
roles - roles
portletAppName - portlet app name
Throws:
PortletContainerException - exception
See Also:
PortletApplicationRegister.registerPortletApplication(javax.servlet.ServletContext, org.exoplatform.services.portletcontainer.pci.model.PortletApp, java.util.Collection, java.lang.String)

removePortletApplication

public final void removePortletApplication(javax.servlet.ServletContext servletContext,
                                           java.lang.String portletAppName)
                                    throws PortletContainerException
Overridden method.

Specified by:
removePortletApplication in interface PortletApplicationRegister
Parameters:
servletContext - servlet context
portletAppName - portlet app name
Throws:
PortletContainerException - exception
See Also:
PortletApplicationRegister.removePortletApplication(javax.servlet.ServletContext, java.lang.String)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.