Package lumis.portlet.container.manager
Class PortletManager
- java.lang.Object
-
- 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
- Version:
- $Revision: 22420 $ $Date: 2019-02-19 16:21:02 -0300 (Tue, 19 Feb 2019) $
-
-
Constructor Summary
Constructors Constructor Description PortletManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.
-
-
-
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 interfaceIPortletManager
- 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 interfaceIPortletManager
- 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 LumisXP. 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:- Path to source war file
- Path to destination war file
- Service id for the generated service definition
- Context path where the portlet will be deployed to (starting with a slash)
- Throws:
Exception
- Since:
- 4.0.7
-
-