org.apache.pluto.portlet.admin.services
Class PortletConfigService

java.lang.Object
  extended by org.apache.pluto.portlet.admin.services.PortletConfigService

public class PortletConfigService
extends java.lang.Object

Parses out info from portlet.xml, putting them in a list of PortletDD objects to be used to update web.xml during deployment.

Author:
Craig Doremus

Nested Class Summary
private static class PortletConfigService.MyErrorHandler
          Inner class that handles errors
 class PortletConfigService.RoleRef
          Small Value Object holding a security-role-ref name and link values in the portletDDList List.
 
Field Summary
private  org.w3c.dom.Document _doc
           
static java.lang.String CLASS_NAME
           
private  java.util.List portletDDList
           
 
Constructor Summary
private PortletConfigService()
           
  PortletConfigService(java.io.InputStream ios)
           
 
Method Summary
private  void createPortletDDList()
           
private static org.w3c.dom.Document getDocument(java.io.InputStream ios)
           
 java.util.List getPortletDDList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_doc

private org.w3c.dom.Document _doc

portletDDList

private java.util.List portletDDList

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

PortletConfigService

private PortletConfigService()

PortletConfigService

public PortletConfigService(java.io.InputStream ios)
Method Detail

getDocument

private static org.w3c.dom.Document getDocument(java.io.InputStream ios)

createPortletDDList

private void createPortletDDList()

getPortletDDList

public java.util.List getPortletDDList()