org.jboss.portal.server.deployment.jboss
Interface DeploymentFactory

All Known Implementing Classes:
AbstractDeploymentFactory, LayoutDeploymentFactory, LayoutFeaturesDeploymentFactory, ObjectDeploymentFactory, PortletAppDeploymentFactory, PortletAppDeploymentFactory, ThemeDeploymentFactory

public interface DeploymentFactory

A deployment factory creates deployment for a specific kind of objects.

Version:
$Revision: 5682 $
Author:
Julien Viet

Method Summary
 Deployment newInstance(java.net.URL url, PortalWebApp pwa, javax.management.MBeanServer mbeanServer)
          Create a new instance of the deployment.
 

Method Detail

newInstance

Deployment newInstance(java.net.URL url,
                       PortalWebApp pwa,
                       javax.management.MBeanServer mbeanServer)
                       throws DeploymentException
Create a new instance of the deployment.

Parameters:
url - the URL of the file to deploy
pwa - the web application that contains the file to deploy or null if it does not exist
mbeanServer - the JMX mbean server
Returns:
a deployment ready to be processed
Throws:
DeploymentException - if the deployment cannot be created