| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.pluto.om.PortletDefinitionRegistryImpl
public class PortletDefinitionRegistryImpl
| Field Summary | |
|---|---|
protected  Context | 
context
The context  | 
protected  String | 
contextName
Our context name  | 
protected  ServiceManager | 
manager
The service manager  | 
static String | 
PORTLET_MAPPING
The mapping  | 
protected  PortletApplicationEntityListImpl | 
portletApplicationEntities
The portlet application entity list  | 
protected  Map | 
portletsKeyObjectId
All portlet definitions, hashed by ObjectId  | 
protected  PortletApplicationDefinitionListImpl | 
registry
 | 
protected  EntityResolver | 
resolver
The entity resolver  | 
protected  PortalService | 
service
The portal service.  | 
static String | 
WEBXML_MAPPING
The mapping  | 
| Constructor Summary | |
|---|---|
PortletDefinitionRegistryImpl()
 | 
|
| Method Summary | |
|---|---|
 void | 
contextualize(Context context)
 | 
 void | 
dispose()
 | 
 PortalService | 
getPortalService()
 | 
 org.apache.pluto.om.portlet.PortletApplicationDefinitionList | 
getPortletApplicationDefinitionList()
 | 
 org.apache.pluto.om.entity.PortletApplicationEntityList | 
getPortletApplicationEntityList()
 | 
 org.apache.pluto.om.portlet.PortletDefinition | 
getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
 | 
 void | 
initialize()
 | 
protected  void | 
load(String baseWMDir,
     org.exolab.castor.mapping.Mapping portletXMLMapping,
     org.exolab.castor.mapping.Mapping webXMLMapping)
 | 
 void | 
service(ServiceManager manager)
 | 
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled | 
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String PORTLET_MAPPING
public static final String WEBXML_MAPPING
protected Context context
protected ServiceManager manager
protected PortletApplicationEntityListImpl portletApplicationEntities
protected PortletApplicationDefinitionListImpl registry
protected Map portletsKeyObjectId
protected String contextName
protected EntityResolver resolver
protected PortalService service
| Constructor Detail | 
|---|
public PortletDefinitionRegistryImpl()
| Method Detail | 
|---|
public void contextualize(Context context)
                   throws ContextException
contextualize in interface ContextualizableContextExceptionContextualizable.contextualize(org.apache.avalon.framework.context.Context)
public void service(ServiceManager manager)
             throws ServiceException
service in interface ServiceableServiceExceptionServiceable.service(org.apache.avalon.framework.service.ServiceManager)public void dispose()
dispose in interface DisposableDisposable.dispose()
public void initialize()
                throws Exception
initialize in interface InitializableExceptionInitializable.initialize()public org.apache.pluto.om.portlet.PortletApplicationDefinitionList getPortletApplicationDefinitionList()
getPortletApplicationDefinitionList in interface PortletDefinitionRegistryPortletDefinitionRegistry.getPortletApplicationDefinitionList()public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
getPortletDefinition in interface PortletDefinitionRegistryPortletDefinitionRegistry.getPortletDefinition(org.apache.pluto.om.common.ObjectID)
protected void load(String baseWMDir,
                    org.exolab.castor.mapping.Mapping portletXMLMapping,
                    org.exolab.castor.mapping.Mapping webXMLMapping)
             throws Exception
Exceptionpublic org.apache.pluto.om.entity.PortletApplicationEntityList getPortletApplicationEntityList()
getPortletApplicationEntityList in interface PortletDefinitionRegistryPortletDefinitionRegistry.getPortletApplicationEntityList()public PortalService getPortalService()
getPortalService in interface PortletDefinitionRegistryPortletDefinitionRegistry.getPortalService()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||