org.jboss.portal.server.deployment.jboss
Class ServerDeployer
java.lang.Object
SubDeployerSupport
org.jboss.portal.server.deployment.jboss.ServerDeployer
- All Implemented Interfaces:
- ServerDeployerMBean
public class ServerDeployer
- extends SubDeployerSupport
- implements ServerDeployerMBean
- Version:
- $Revision: 7379 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerDeployer
public ServerDeployer()
getFactories
public java.util.Set getFactories()
- Specified by:
getFactories
in interface ServerDeployerMBean
accepts
public boolean accepts(DeploymentInfo di)
- This should never be called for server deployment.
getPortalServer
public Server getPortalServer()
- Specified by:
getPortalServer
in interface ServerDeployerMBean
setPortalServer
public void setPortalServer(Server portalServer)
- Specified by:
setPortalServer
in interface ServerDeployerMBean
getDeployer
public ServerDeployer getDeployer()
- Specified by:
getDeployer
in interface ServerDeployerMBean
registerFactory
public void registerFactory(java.lang.String name,
URLFilter filter,
DeploymentFactory factory,
java.net.URL setupURL)
- Specified by:
registerFactory
in interface ServerDeployerMBean
- Parameters:
name
- the factory namefilter
- filter urlsfactory
- create deploymentsetupURL
- an optional setup URL
unregisterFactory
public void unregisterFactory(java.lang.String name)
- Specified by:
unregisterFactory
in interface ServerDeployerMBean
- Parameters:
name
- the factory name to unregister
processNestedDeployments
protected void processNestedDeployments(DeploymentInfo di)
throws DeploymentException
- Throws:
DeploymentException
findFactory
public DeploymentFactory findFactory(java.net.URL url)
- Description copied from interface:
ServerDeployerMBean
- Locate a deployment info factory based on the url. If no factory is found it returns null.
- Specified by:
findFactory
in interface ServerDeployerMBean
create
public void create(DeploymentInfo di)
throws DeploymentException
- Throws:
DeploymentException
start
public void start(DeploymentInfo di)
throws DeploymentException
- Throws:
DeploymentException
stop
public void stop(DeploymentInfo di)
throws DeploymentException
- Throws:
DeploymentException
destroy
public void destroy(DeploymentInfo di)
throws DeploymentException
- Throws:
DeploymentException
deploy
public void deploy(PortalWebApp pwa)
throws DeploymentException
- Specified by:
deploy
in interface ServerDeployerMBean
- Throws:
DeploymentException
undeploy
public void undeploy(PortalWebApp pwa)
throws DeploymentException
- Specified by:
undeploy
in interface ServerDeployerMBean
- Throws:
DeploymentException