lumis.portlet.container.manager
Class PortletManager

Package class diagram package PortletManager
java.lang.Object
  extended by lumis.portlet.container.manager.PortletManager
All Implemented Interfaces:
IPortletManager

public class PortletManager
extends Object
implements IPortletManager

Implementation of the portlet manager interface.

Since:
4.0.7

Constructor Summary
PortletManager()
           
 
Method Summary
 void deploy(SessionConfig sessionConfig, PortletDeployConfig deployConfig, ITransaction transaction)
          Deploys a portlet war.
 void export(SessionConfig sessionConfig, PortletDeployConfig deployConfig, ITransaction transaction)
          Exports a processed portlet WAR for manual deployment.
static void main(String[] args)
          Deprecated. This method is a way to process a JSR-168 WAR file, but it is not defined if it will exist permanently or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletManager

public PortletManager()
Method Detail

export

public void export(SessionConfig sessionConfig,
                   PortletDeployConfig deployConfig,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IPortletManager
Exports a processed portlet WAR for manual deployment.

Specified by:
export in interface IPortletManager
Parameters:
sessionConfig - the user session information.
deployConfig - the portlet deployment specification.
transaction - the transaction for persistence access.
Throws:
PortalException

deploy

public void deploy(SessionConfig sessionConfig,
                   PortletDeployConfig deployConfig,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IPortletManager
Deploys a portlet war.

Specified by:
deploy in interface IPortletManager
Parameters:
sessionConfig - the user session information.
deployConfig - the portlet deployment specification.
transaction - the transaction for persistence access.
Throws:
PortalException

main

public static void main(String[] args)
                 throws Exception
Deprecated. This method is a way to process a JSR-168 WAR file, but it is not defined if it will exist permanently or not.

Processes a portlet WAR file so it can be deployed in the lumis portal. A servicedefinition.xml file will also be generated in the same directory where the destination war file is saved.

Parameters:
args - must contain the following arguments:
  1. Path to source war file
  2. Path to destination war file
  3. Service id for the generated service definition
  4. Context path where the portlet will be deployed to (starting with a slash)
Throws:
Exception
Since:
4.0.7


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.