org.jboss.portal.server.deployment.jboss
Interface ServerDeployerMBean

All Known Implementing Classes:
ServerDeployer

public interface ServerDeployerMBean

Version:
$Revision: 5682 $
Author:
Julien Viet

Method Summary
 void deploy(PortalWebApp pwa)
           
 DeploymentFactory findFactory(java.net.URL url)
          Locate a deployment info factory based on the url.
 ServerDeployer getDeployer()
           
 java.util.Set getFactories()
           
 Server getPortalServer()
           
 void registerFactory(java.lang.String name, URLFilter filter, DeploymentFactory factory, java.net.URL setupURL)
           
 void setPortalServer(Server server)
           
 void undeploy(PortalWebApp pwa)
           
 void unregisterFactory(java.lang.String name)
           
 

Method Detail

getDeployer

ServerDeployer getDeployer()

getPortalServer

Server getPortalServer()

setPortalServer

void setPortalServer(Server server)

deploy

void deploy(PortalWebApp pwa)
            throws DeploymentException
Throws:
DeploymentException

undeploy

void undeploy(PortalWebApp pwa)
              throws DeploymentException
Throws:
DeploymentException

getFactories

java.util.Set getFactories()

registerFactory

void registerFactory(java.lang.String name,
                     URLFilter filter,
                     DeploymentFactory factory,
                     java.net.URL setupURL)
Parameters:
name - the factory name
filter - filter urls
factory - create deployment
setupURL - an optional setup URL

unregisterFactory

void unregisterFactory(java.lang.String name)
Parameters:
name - the factory name to unregister

findFactory

DeploymentFactory findFactory(java.net.URL url)
Locate a deployment info factory based on the url. If no factory is found it returns null.