Package lumis.portal.deployment

Package class diagram package lumis.portal.deployment
Provides the API for Lumis Portal module deployment.

See:
          Description

Interface Summary
IDeploymentManager Handles the deployment of portal resources.
IModule A module that is deployed in the Lumis Portal.
IPortalDeployer Deprecated. Since 5.0.0 the use of this classes was replaced by operations in IDeploymentManager.
 

Class Summary
DeployConfig Deprecated. Since 5.0.0 the use of IPortalDeployer has been deprecated.
DeploymentManager Handles the deployment of portal resources.
GenericWarDeployer Deprecated. Since 5.0.0 the use of IPortalDeployer has been deprecated.
 

Enum Summary
ModuleState Defines enumeration values for module states.
ModuleType Defines enumeration values for module types.
 

Exception Summary
IllegalModuleArchiveException Indicates that a module archive provided is illegal.
 

Package lumis.portal.deployment Description

Provides the API for Lumis Portal module deployment.

A Lumis Portal module archive may have a deployment descriptor file META-INF/lumis-module.xml. This file content is defined by the def/lumis/portal/deployment/lumis-module.xsd file.

A ModuleType.JAR_LIBRARY module type is used to be able to perform hot deploy of classes to be used in the portal customization. In most portal configuration and definition files, a class name reference, when is resolved, is searched along the JAR library modules installed in the portal. Such classes have visibility to other classes in the same JAR file and to the classes in the portal application.

Note that classes in the packages java, javax and lumis cannot be overridden by deploying a similar class in a JAR library.

Classes in the portal application have no direct visibility of the classes deployed in a JAR library module. The deployed classes may be accessed through reflection using the class loader provided by IDeploymentManager.getClassLoader(). Resources in the JAR library module may also be obtained using the provided class loader. Note that references to the deployed classes or their instances should not be stored, as it may keep the module in memory when it is undeployed, possibly causing a memory leak.

The folder lumisdata/deploy is the auto-deploy folder. All module files copied to this folder are automatically deployed and automatically undeployed when removed. The result of the operation may be verified in the portal log files.

Since:
5.0.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.