org.apache.pluto.portalImpl.services.portletdefinitionregistry
Class PortletDefinitionRegistryServiceFileImpl
java.lang.Object
org.apache.pluto.portalImpl.services.Service
org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryService
org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryServiceFileImpl
- public class PortletDefinitionRegistryServiceFileImpl
- extends PortletDefinitionRegistryService
A simple XML Castor file based implementation of the
PortletRegistryService.
This store persit the PortletRegistry informations.
Method Summary |
org.apache.pluto.om.portlet.PortletApplicationDefinitionList |
getPortletApplicationDefinitionList()
Returns a set containg all portlet application definitions |
org.apache.pluto.om.portlet.PortletDefinition |
getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
Returns the portlet definition to the given object id |
void |
init(javax.servlet.ServletConfig config,
Properties properties)
Initializes the service using the servlet configuration
and the service properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAPPING_PORTLETXML
public static final java.lang.String DEFAULT_MAPPING_PORTLETXML
- See Also:
- Constant Field Values
DEFAULT_MAPPING_WEBXML
public static final java.lang.String DEFAULT_MAPPING_WEBXML
- See Also:
- Constant Field Values
registry
protected PortletApplicationDefinitionListImpl registry
portletsKeyObjectId
protected java.util.Map portletsKeyObjectId
PortletDefinitionRegistryServiceFileImpl
public PortletDefinitionRegistryServiceFileImpl()
init
public void init(javax.servlet.ServletConfig config,
Properties properties)
throws java.lang.Exception
- Description copied from class:
Service
- Initializes the service using the servlet configuration
and the service properties.
- Overrides:
init
in class Service
- Parameters:
config
- the servlet configurationproperties
- the service properties
- Throws:
java.lang.Exception
- if the initialization fails
getPortletApplicationDefinitionList
public org.apache.pluto.om.portlet.PortletApplicationDefinitionList getPortletApplicationDefinitionList()
- Description copied from class:
PortletDefinitionRegistryService
- Returns a set containg all portlet application definitions
- Specified by:
getPortletApplicationDefinitionList
in class PortletDefinitionRegistryService
- Returns:
- the portlet application definition set
getPortletDefinition
public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
- Description copied from class:
PortletDefinitionRegistryService
- Returns the portlet definition to the given object id
- Specified by:
getPortletDefinition
in class PortletDefinitionRegistryService
- Returns:
- the portlet definition
Copyright © 2003-2005 . All Rights Reserved.