Class PortletAppRegistryWriter
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.PortletRegistryWriter
-
- com.sun.portal.portletcontainer.admin.registry.PortletAppRegistryWriter
-
public class PortletAppRegistryWriter extends PortletRegistryWriter
PortletAppRegistryWriter is responsible for updating the portlet-app-registry.xml file
-
-
Field Summary
-
Fields inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
context, registryLocation
-
-
Constructor Summary
Constructors Constructor Description PortletAppRegistryWriter(String registryLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDocument(List<PortletRegistryElement> portletAppElementList)
Appends contents in the list to the specified registry xml file in the file system.void
writeDocument(List<PortletRegistryElement> portletAppElementList)
Writes the contents in the list to the specified registry xml file in the file system.-
Methods inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
write
-
-
-
-
Constructor Detail
-
PortletAppRegistryWriter
public PortletAppRegistryWriter(String registryLocation)
-
-
Method Detail
-
appendDocument
public void appendDocument(List<PortletRegistryElement> portletAppElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Appends contents in the list to the specified registry xml file in the file system.- Specified by:
appendDocument
in classPortletRegistryWriter
- Parameters:
portletAppElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
writeDocument
public void writeDocument(List<PortletRegistryElement> portletAppElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Writes the contents in the list to the specified registry xml file in the file system.- Specified by:
writeDocument
in classPortletRegistryWriter
- Parameters:
portletAppElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
-