org.jboss.portal.portlet.container.managed
Interface PortletApplicationRegistry

All Known Implementing Classes:
PortletApplicationDeployer, TestPortletApplicationDeployer

public interface PortletApplicationRegistry

Version:
$Revision: 6699 $
Author:
Julien Viet, Thomas Heute

Method Summary
 void addListener(ManagedObjectRegistryEventListener listener)
           
 ManagedPortletApplication getManagedPortletApplication(java.lang.String id)
          Return a portlet app using its id or null if it does not exist.
 java.util.Collection<? extends ManagedPortletApplication> getManagedPortletApplications()
          Return an immutable list all the known portlet application in the registry.
 void removeListener(ManagedObjectRegistryEventListener listener)
           
 

Method Detail

getManagedPortletApplications

java.util.Collection<? extends ManagedPortletApplication> getManagedPortletApplications()
Return an immutable list all the known portlet application in the registry.

Returns:
the registered portlet applications

getManagedPortletApplication

ManagedPortletApplication getManagedPortletApplication(java.lang.String id)
Return a portlet app using its id or null if it does not exist.

Parameters:
id - the portlet application id
Returns:
a specified registered portlet application

addListener

void addListener(ManagedObjectRegistryEventListener listener)

removeListener

void removeListener(ManagedObjectRegistryEventListener listener)


Copyright © 2008. All Rights Reserved.