org.apache.pluto.descriptors.services
Interface PortletAppDescriptorService

All Known Implementing Classes:
AbstractPortletAppDescriptorService, ContextPortletAppDescriptorServiceImpl, FilePortletAppDescriptorServiceImpl, StreamPortletAppDescriptorServiceImpl

public interface PortletAppDescriptorService

Read/Write services for Portlet Application configuration This service reads the portlet.xml and converts it to a standard bean model.

Since:
Mar 6, 2005
Version:
$Id: PortletAppDescriptorService.java 264842 2005-08-30 19:54:06Z cziegeler $
Author:
David H. DeWolf

Method Summary
 java.lang.String getContextPath()
          Retrieve the name of the context path within which PortletApps retrieved from this service reside.
 PortletAppDD read()
          Retrieve the PortletApp deployment descriptor (portlet.xml).
 void write(PortletAppDD pd)
          Write the PortletApp deployment descriptor (portlet.xml).
 

Method Detail

getContextPath

java.lang.String getContextPath()
Retrieve the name of the context path within which PortletApps retrieved from this service reside.

Returns:

read

PortletAppDD read()
                  throws java.io.IOException
Retrieve the PortletApp deployment descriptor (portlet.xml).

Returns:
Object representation of the descriptor.
Throws:
java.io.IOException - if an IO error occurs.

write

void write(PortletAppDD pd)
           throws java.io.IOException
Write the PortletApp deployment descriptor (portlet.xml).

Parameters:
pd -
Throws:
java.io.IOException - if an IO error occurs.


Copyright © 2003-2009 . All Rights Reserved.