org.ow2.jasmine.deployme.v2.configApply
Class ConfigJonasApply

java.lang.Object
  extended by org.ow2.jasmine.deployme.v2.configApply.ConfigJonasApply

public class ConfigJonasApply
extends Object

Apply a Deployme 2 configuration on the JOnAS server

Author:
Jeremy Cazaux

Constructor Summary
ConfigJonasApply(String jonasRoot)
          Constructor
 
Method Summary
 void applyExtensionConfiguration(Map<IDeploymeExtension,Object> extensions)
          Apply extensions configuration
 void applyModuleConfiguration(Map<IDeploymeModule,Object> modules)
          Apply module configuration
 void execute()
          Apply the configuration
 void setClusterConfiguration(String domainName, AgentType agent)
          Apply the cluster daemon parameters
 void setDomainName(String domainName)
           
 void setJOnASBase(String jonasBase, boolean update)
          Set the JOnAS Base of a JOnAS instance
 void setJOnASName(String serverName)
           
 void setServices(String services)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigJonasApply

public ConfigJonasApply(String jonasRoot)
Constructor

Method Detail

setClusterConfiguration

public void setClusterConfiguration(String domainName,
                                    AgentType agent)
Apply the cluster daemon parameters

Parameters:
domainName - Agent domain name
agent - The Agent to configure

applyExtensionConfiguration

public void applyExtensionConfiguration(Map<IDeploymeExtension,Object> extensions)
Apply extensions configuration

Parameters:
extensions - Map of pair

applyModuleConfiguration

public void applyModuleConfiguration(Map<IDeploymeModule,Object> modules)
Apply module configuration

Parameters:
modules - Map of pair

setJOnASBase

public void setJOnASBase(String jonasBase,
                         boolean update)
Set the JOnAS Base of a JOnAS instance

Parameters:
jonasBase -
update -

setJOnASName

public void setJOnASName(String serverName)
Parameters:
serverName - The name of the server to set

setDomainName

public void setDomainName(String domainName)
Parameters:
domainName - The name of the domain to set

setServices

public void setServices(String services)
Parameters:
services - List of services to set

execute

public void execute()
Apply the configuration



Copyright © 2012 OW2 Consortium. All Rights Reserved.