org.apache.jetspeed.descriptor
Class JetspeedDescriptorServiceImpl

java.lang.Object
  extended by org.apache.jetspeed.descriptor.JetspeedDescriptorServiceImpl
All Implemented Interfaces:
JetspeedDescriptorService

public class JetspeedDescriptorServiceImpl
extends java.lang.Object
implements JetspeedDescriptorService

Jetspeed Descriptor service for loading portlet applications in a Jetspeed format.

Version:
$Id$
Author:
David Sean Taylor

Constructor Summary
JetspeedDescriptorServiceImpl(org.apache.pluto.container.PortletAppDescriptorService plutoDescriptorService)
           
 
Method Summary
protected  Language addLanguage(PortletDefinition jpd, org.apache.pluto.container.om.portlet.PortletInfo info, java.util.Locale locale, boolean supportedLocale)
           
protected  void loadJetspeedPortletDescriptor(PortletApplication app, java.io.InputStream in)
           
protected  void loadWebDescriptor(PortletApplication pa, java.io.InputStream webDescriptor)
           
 PortletApplication read(java.lang.String name, java.lang.String contextPath, java.io.InputStream webDescriptor, java.io.InputStream portletDescriptor, java.io.InputStream jetspeedPortletDescriptor, java.lang.ClassLoader paClassLoader)
           
protected  PortletApplication upgrade(org.apache.pluto.container.om.portlet.PortletApplicationDefinition pa)
           
protected  void upgradePortlet(PortletDefinition jpd, org.apache.pluto.container.om.portlet.PortletDefinition pd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedDescriptorServiceImpl

public JetspeedDescriptorServiceImpl(org.apache.pluto.container.PortletAppDescriptorService plutoDescriptorService)
Method Detail

read

public PortletApplication read(java.lang.String name,
                               java.lang.String contextPath,
                               java.io.InputStream webDescriptor,
                               java.io.InputStream portletDescriptor,
                               java.io.InputStream jetspeedPortletDescriptor,
                               java.lang.ClassLoader paClassLoader)
                        throws java.lang.Exception
Specified by:
read in interface JetspeedDescriptorService
Throws:
java.lang.Exception

loadWebDescriptor

protected void loadWebDescriptor(PortletApplication pa,
                                 java.io.InputStream webDescriptor)
                          throws javax.xml.parsers.ParserConfigurationException,
                                 org.xml.sax.SAXException,
                                 java.io.IOException,
                                 javax.xml.xpath.XPathExpressionException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
javax.xml.xpath.XPathExpressionException

upgrade

protected PortletApplication upgrade(org.apache.pluto.container.om.portlet.PortletApplicationDefinition pa)

upgradePortlet

protected void upgradePortlet(PortletDefinition jpd,
                              org.apache.pluto.container.om.portlet.PortletDefinition pd)

addLanguage

protected Language addLanguage(PortletDefinition jpd,
                               org.apache.pluto.container.om.portlet.PortletInfo info,
                               java.util.Locale locale,
                               boolean supportedLocale)

loadJetspeedPortletDescriptor

protected void loadJetspeedPortletDescriptor(PortletApplication app,
                                             java.io.InputStream in)
                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.