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

java.lang.Object
  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
static java.lang.String PORTLET_XML_URI
           
 
Fields inherited from class org.apache.pluto.descriptors.services.impl.AbstractPortletAppDescriptorService
PORTLET_XML_MAPPING
 
Constructor Summary
ContextPortletAppDescriptorServiceImpl(javax.servlet.ServletContext ctx)
           
 
Method Summary
 java.lang.String getContextPath()
           
protected  java.io.InputStream getInputStream()
           
protected  java.io.OutputStream getOutputStream()
           
protected  java.lang.Object readInternal()
          Read the and convert the descriptor into it's Object graph.
protected  void writeInternal(java.lang.Object object)
          Write the object graph to it's descriptor.
 
Methods inherited from class org.apache.pluto.descriptors.services.impl.AbstractPortletAppDescriptorService
getCastorMapping, getDTDUri, getIgnoreExtraElements, getPublicId, read, write
 
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
Constructor Detail

ContextPortletAppDescriptorServiceImpl

public ContextPortletAppDescriptorServiceImpl(javax.servlet.ServletContext ctx)
Method Detail

getInputStream

protected java.io.InputStream getInputStream()
                                      throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

protected java.io.OutputStream getOutputStream()
                                        throws java.io.IOException
Throws:
java.io.IOException

getContextPath

public java.lang.String getContextPath()

readInternal

protected java.lang.Object readInternal()
                                 throws java.io.IOException
Read the and convert the descriptor into it's Object graph.

Returns:
Throws:
java.io.IOException

writeInternal

protected void writeInternal(java.lang.Object object)
                      throws java.io.IOException
Write the object graph to it's descriptor.

Parameters:
object -
Throws:
java.io.IOException


Copyright © 2003-2011 . All Rights Reserved.