org.apache.pluto.descriptors.services.impl
Class ContextPortletAppDescriptorServiceImpl

java.lang.Object
  extended by org.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService
      extended by org.apache.pluto.descriptors.services.impl.AbstractPortletAppDescriptorService
          extended by org.apache.pluto.descriptors.services.impl.ContextPortletAppDescriptorServiceImpl
All Implemented Interfaces:
PortletAppDescriptorService

public class ContextPortletAppDescriptorServiceImpl
extends AbstractPortletAppDescriptorService

Portlet Application Deployment Descriptor Service which retrieves reads the descriptor from the ServletContext.

Since:
Mar 5, 2005
Version:
$Id: ContextPortletAppDescriptorServiceImpl.java 156743 2005-03-10 05:50:30Z ddewolf $
Author:
David H. DeWolf

Field Summary
private  ServletContext ctx
           
static java.lang.String PORTLET_XML_URI
           
 
Fields inherited from class org.apache.pluto.descriptors.services.impl.AbstractPortletAppDescriptorService
PORTLET_XML_MAPPING
 
Constructor Summary
ContextPortletAppDescriptorServiceImpl(ServletContext ctx)
           
 
Method Summary
protected  java.io.InputStream getInputStream()
           
protected  java.io.OutputStream getOutputStream()
           
 
Methods inherited from class org.apache.pluto.descriptors.services.impl.AbstractPortletAppDescriptorService
getCastorMapping, getDTDUri, getIgnoreExtraElements, getPublicId, read, write
 
Methods inherited from class org.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService
getContextPath, readInternal, writeInternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.pluto.descriptors.services.PortletAppDescriptorService
getContextPath
 

Field Detail

PORTLET_XML_URI

public static final java.lang.String PORTLET_XML_URI
See Also:
Constant Field Values

ctx

private ServletContext ctx
Constructor Detail

ContextPortletAppDescriptorServiceImpl

public ContextPortletAppDescriptorServiceImpl(ServletContext ctx)
Method Detail

getInputStream

protected java.io.InputStream getInputStream()
                                      throws java.io.IOException
Specified by:
getInputStream in class AbstractCastorDescriptorService
Throws:
java.io.IOException

getOutputStream

protected java.io.OutputStream getOutputStream()
                                        throws java.io.IOException
Specified by:
getOutputStream in class AbstractCastorDescriptorService
Throws:
java.io.IOException