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

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

public class LayoutFeaturesDeployment
extends Deployment

Deploy rendersets contained in a WebApplication.

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

Version:
$Revision: 8784 $
Author:
Martin Holzner

Field Summary
 
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
 

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