|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.deployme.v2.util.AbstractServer
public abstract class AbstractServer
Abstract class in order to factorize some Agent and Server methods
| Field Summary | |
|---|---|
protected List<IDeploymeExtension> |
availableExtensions
List of available extensions |
protected List<IDeploymeModule> |
availableModules
List of available IDeploymeModule |
protected ConfigurationType |
domainConfiguration
The domain configuration |
protected String |
domainName
The name of the domain |
protected PropertiesType |
domainProperties
List of domain properties |
protected ConfigurationType |
domainsConfiguration
Domains configuration |
protected PropertiesType |
domainsProperties
List of domains properties |
protected org.ow2.util.substitution.engine.DefaultSubstitutionEngine |
engine
The DefaultSubstitutionEngine |
protected Map<IDeploymeExtension,Object> |
extensions
Map between a IDeploymeExtension and its associated topology element |
protected String |
jonasBase
JOnAS Base |
protected String |
jonasRoot
JOnAS ROOT |
protected static org.ow2.util.log.Log |
logger
The logger |
protected String |
serverName
The name of the server |
protected PropertiesType |
serverProperties
List of server properties |
protected ConfigurationType |
serversConfiguration
Servers configuration |
protected PropertiesType |
serversProperties
List of servers properties |
protected Boolean |
updateJonasBase
True if JONAS_BASE need only to be updated |
| Constructor Summary | |
|---|---|
AbstractServer()
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
buildModulesAndExtensions(ConfigurationType configuration)
Build modules & extensions of a server |
String |
getDomainName()
|
Map<IDeploymeExtension,Object> |
getExtensions()
|
String |
getJonasBase()
|
String |
getJonasRoot()
|
Map<IDeploymeModule,Object> |
getModules()
|
protected abstract ConfigurationType |
getServerConfiguration()
|
String |
getServerName()
|
protected void |
initProperties()
Initialize properties |
Boolean |
isJonasBaseToUpdate()
|
protected void |
merge()
|
protected void |
mergeConfiguration()
Merge the configuration of a server |
protected void |
mergeConfiguration(ConfigurationType localConfiguration,
ConfigurationType configuration)
Merge the server configuration with an other configuration |
void |
setJonasBase(String jonasBase)
|
void |
setJonasRoot(String jonasRoot)
|
protected void |
substituteProperties()
Substitute all properties of all DeployME modules & extensions |
String |
toString()
return "domainName.serverName" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ConfigurationType serversConfiguration
protected ConfigurationType domainConfiguration
protected ConfigurationType domainsConfiguration
protected PropertiesType serverProperties
protected PropertiesType serversProperties
protected PropertiesType domainProperties
protected PropertiesType domainsProperties
protected String jonasRoot
protected String jonasBase
protected Boolean updateJonasBase
protected String serverName
protected String domainName
protected Map<IDeploymeExtension,Object> extensions
IDeploymeExtension and its associated topology element
protected List<IDeploymeExtension> availableExtensions
protected List<IDeploymeModule> availableModules
IDeploymeModule
protected static org.ow2.util.log.Log logger
protected org.ow2.util.substitution.engine.DefaultSubstitutionEngine engine
DefaultSubstitutionEngine
| Constructor Detail |
|---|
public AbstractServer()
| Method Detail |
|---|
protected void merge()
protected void mergeConfiguration()
protected void initProperties()
protected void substituteProperties()
protected void buildModulesAndExtensions(ConfigurationType configuration)
protected abstract ConfigurationType getServerConfiguration()
ConfigurationType of the server
protected void mergeConfiguration(ConfigurationType localConfiguration,
ConfigurationType configuration)
localConfiguration - Local configurationconfiguration - Another configurationpublic String getJonasRoot()
getJonasRoot in interface IServerpublic String getJonasBase()
getJonasBase in interface IServerpublic String getServerName()
getServerName in interface IServerpublic String getDomainName()
getDomainName in interface IServerpublic Boolean isJonasBaseToUpdate()
public String toString()
toString in class Objectpublic void setJonasBase(String jonasBase)
jonasBase - JONAS_BASE to setpublic void setJonasRoot(String jonasRoot)
jonasRoot - JONAS_ROOT to setpublic Map<IDeploymeExtension,Object> getExtensions()
public Map<IDeploymeModule,Object> getModules()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||