站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LayoutFeaturesDeployment - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.theme.deployment.jboss
Class LayoutFeaturesDeployment

java.lang.Object
  extended byorg.jboss.portal.server.deployment.jboss.Deployment
      extended byorg.jboss.portal.theme.deployment.jboss.LayoutFeaturesDeployment

public class LayoutFeaturesDeployment
extends Deployment

Deploy layout strategies and rendersets contained in a WebApplication.

A Web Application can define layout strategies and render sets in their respective descriptors. Portal RenderSets are defined in a descriptor called portal-renderSet.xml in the WEB-INF/layout folder. Layout strategies are defined in a descriptor called portal-strategies.xml in the same folder. Additionally, rendersets and layout strategies can be defined as part of a layout descriptor (portal-layouts.xml). Those cases are handled by the layout deployment.

Version:
$Revision: 5448 $
Author:
Martin Holzner

Field Summary
private  LayoutFeaturesDeploymentFactory factory
          .
private static org.jboss.logging.Logger log
          .
private  boolean trace
          .
 
Fields inherited from class org.jboss.portal.server.deployment.jboss.Deployment
mbeanServer, pwa, url
 
Constructor Summary
LayoutFeaturesDeployment(java.net.URL url, PortalWebApp pwa, javax.management.MBeanServer mbeanServer, LayoutFeaturesDeploymentFactory factory)
           
 
Method Summary
 void create()
          Create the resources from this portal web application.
 void destroy()
          Destroy (and remove) all the resources from this portal web application that are registered with the portal.
 
Methods inherited from class org.jboss.portal.server.deployment.jboss.Deployment
findRepositoryClassLoader, findWEBINFURL, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.jboss.logging.Logger log
.


factory

private final LayoutFeaturesDeploymentFactory factory
.


trace

private boolean trace
.

Constructor Detail

LayoutFeaturesDeployment

public LayoutFeaturesDeployment(java.net.URL url,
                                PortalWebApp pwa,
                                javax.management.MBeanServer mbeanServer,
                                LayoutFeaturesDeploymentFactory factory)
Method Detail

create

public void create()
            throws org.jboss.deployment.DeploymentException
Create the resources from this portal web application.

Overrides:
create in class Deployment
Throws:
org.jboss.deployment.DeploymentException - if anything goes wrong

destroy

public void destroy()
             throws org.jboss.deployment.DeploymentException
Destroy (and remove) all the resources from this portal web application that are registered with the portal.

Overrides:
destroy in class Deployment
Throws:
org.jboss.deployment.DeploymentException - if anything goes wrong