org.ow2.petals.kernel.configuration
Class ContainerConfiguration
java.lang.Object
org.ow2.petals.kernel.configuration.ContainerConfiguration
- All Implemented Interfaces:
- java.io.Serializable
public final class ContainerConfiguration
- extends java.lang.Object
- implements java.io.Serializable
This class holds the overall configuration of a PEtALS container. It stores
both the local topology information and the global server properties
information.
The configuration service retrieves the configuration when it is started and
creates an instance of this class. The instance is exposed on the distributed
JNDI server.
- Since:
- Petals 2.0
- Author:
- alouis, rnaudin, chamerling - EBM WebSourcing
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ContainerConfiguration
public ContainerConfiguration()
- Default constructor
getPersistenceFetchSize
public int getPersistenceFetchSize()
- Returns:
- the persistenceFetchSize
setPersistenceFetchSize
public void setPersistenceFetchSize(int persistenceFetchSize)
- Parameters:
persistenceFetchSize - the persistenceFetchSize to set
getSerialVersionUID
public static long getSerialVersionUID()
- Returns:
- the serialVersionUID
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getDescription
public java.lang.String getDescription()
- Returns:
- the description
getHost
public java.lang.String getHost()
- Returns:
- the host
getJmxRMIConnectorPort
public int getJmxRMIConnectorPort()
- Returns:
- the jmxRMIConnectorPort
getName
public java.lang.String getName()
- Returns:
- the name
getPassword
public java.lang.String getPassword()
- Returns:
- the password
getPersistenceDuration
public long getPersistenceDuration()
- Returns:
getRegistryDatabaseDialect
public java.lang.String getRegistryDatabaseDialect()
- Returns:
- the registryDatabaseDialect
getRegistryDatabaseDriver
public java.lang.String getRegistryDatabaseDriver()
- Returns:
- the registryDatabaseDriver
getRegistryDatabasePassword
public java.lang.String getRegistryDatabasePassword()
- Returns:
- the registryDatabasePassword
getRegistryDatabaseUrl
public java.lang.String getRegistryDatabaseUrl()
- Returns:
- the registryDatabaseUrl
getRegistryDatabaseUser
public java.lang.String getRegistryDatabaseUser()
- Returns:
- the registryDatabaseUser
getRegistryMode
public ContainerConfiguration.RegistryMode getRegistryMode()
- Returns:
- the registryMode
getRegistryPort
public int getRegistryPort()
- Returns:
- the registryPort
getRegistryRepository
public java.lang.String getRegistryRepository()
- Returns:
- the registryRepository
getRegistrySynchroPeriod
public int getRegistrySynchroPeriod()
- Returns:
- the registrySynchroPeriod
getRegistryTransportTimeout
public int getRegistryTransportTimeout()
- Returns:
- the registryTransportTimeout
getRepositoryDirectoryPath
public java.lang.String getRepositoryDirectoryPath()
- Returns:
- the repositoryDirectoryPath
getRootDirectoryPath
public java.lang.String getRootDirectoryPath()
- Returns:
- the rootDirectoryPath
getRouterQOS
public java.lang.String getRouterQOS()
- Returns:
- the routerQOS
getRouterSendAttempt
public short getRouterSendAttempt()
- Returns:
- the routerSendAttempt
getRouterSendDelay
public int getRouterSendDelay()
- Returns:
- the routerSendDelay
getRouterStrategy
public java.lang.String getRouterStrategy()
- Returns:
- the routerStrategy
getSSLKeyPassword
public java.lang.String getSSLKeyPassword()
- Returns:
- the sslKeyPassword
getSSLKeystore
public java.lang.String getSSLKeystore()
- Returns:
- the sslKeystore
getSSLKeystorePassword
public java.lang.String getSSLKeystorePassword()
- Returns:
- the sslKeystorePassword
getSSLTruststore
public java.lang.String getSSLTruststore()
- Returns:
- the sslTruststore
getSSLTruststorePassword
public java.lang.String getSSLTruststorePassword()
- Returns:
- the sslTruststorePassword
getState
public ContainerConfiguration.ContainerState getState()
- Returns:
- the state
getSubdomainName
public java.lang.String getSubdomainName()
- Returns:
- the subdomainName
getTaskTimeout
public long getTaskTimeout()
- Returns:
- the taskTimeout
getTCPConnectionTimeout
public long getTCPConnectionTimeout()
- Returns:
- the tcpConnectionTimeout
getTCPPort
public int getTCPPort()
- Returns:
- the tcpPort
getTCPReceivers
public int getTCPReceivers()
- Returns:
- the tcpReceivers
getTCPSenderEvictableDelay
public long getTCPSenderEvictableDelay()
- Returns:
- the tcpSenderEvictableDelay
getTCPSenderEvictorDelay
public long getTCPSenderEvictorDelay()
- Returns:
- the tcpSenderEvictorDelay
getTCPSenders
public int getTCPSenders()
- Returns:
- the tcpSenders
getTCPSendTimeout
public long getTCPSendTimeout()
- Returns:
- the tcpSendTimeout
getTopologyUpdatePeriod
public long getTopologyUpdatePeriod()
getUser
public java.lang.String getUser()
- Returns:
- the user
getUserConfiguration
public java.util.Map<java.lang.String,java.lang.String> getUserConfiguration()
- Returns:
- the userConfiguration
getWebservicePort
public int getWebservicePort()
- Returns:
- the webservicePort
getWebservicePrefix
public java.lang.String getWebservicePrefix()
- Returns:
- the webservicePrefix
getWorkDirectoryPath
public java.lang.String getWorkDirectoryPath()
- Returns:
- the workDirectoryPath
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
init
public void init()
throws ConfigurationException
- Throws:
ConfigurationException
isActivateAutoloader
public boolean isActivateAutoloader()
- Returns:
- the activateAutoloader
isExchangeValidation
public boolean isExchangeValidation()
- Returns:
- the exchangeValidation
isInFloodingMode
public boolean isInFloodingMode()
isInMasterSlaveMode
public boolean isInMasterSlaveMode()
isInStandaloneMode
public boolean isInStandaloneMode()
isIsolateJBIClassLoaders
public boolean isIsolateJBIClassLoaders()
- Returns:
- the isolateJBIClassLoaders
isMaster
public boolean isMaster()
isPeer
public boolean isPeer()
isSlave
public boolean isSlave()
isStandalone
public boolean isStandalone()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
setActivateAutoloader
public void setActivateAutoloader(boolean activateAutoloader)
- Parameters:
activateAutoloader - the activateAutoloader to set
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - the description to set
setExchangeValidation
public void setExchangeValidation(boolean exchangeValidation)
- Parameters:
exchangeValidation - the exchangeValidation to set
setHost
public void setHost(java.lang.String host)
- Parameters:
host - the host to set
setIsolateJBIClassLoaders
public void setIsolateJBIClassLoaders(boolean isolateJBIClassLoaders)
- Parameters:
isolateJBIClassLoaders - the isolateJBIClassLoaders to set
setJmxRMIConnectorPort
public void setJmxRMIConnectorPort(int jmxRMIConnectorPort)
- Parameters:
jmxRMIConnectorPort - the jmxRMIConnectorPort to set
setName
public void setName(java.lang.String name)
- Parameters:
name - the name to set
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password - the password to set
setPersistenceDuration
public void setPersistenceDuration(long persistenceDuration)
- Parameters:
persistenceDuration -
setRegistryDatabaseDialect
public void setRegistryDatabaseDialect(java.lang.String registryDatabaseDialect)
- Parameters:
registryDatabaseDialect - the registryDatabaseDialect to set
setRegistryDatabaseDriver
public void setRegistryDatabaseDriver(java.lang.String registryDatabaseDriver)
- Parameters:
registryDatabaseDriver - the registryDatabaseDriver to set
setRegistryDatabasePassword
public void setRegistryDatabasePassword(java.lang.String registryDatabasePassword)
- Parameters:
registryDatabasePassword - the registryDatabasePassword to set
setRegistryDatabaseUrl
public void setRegistryDatabaseUrl(java.lang.String registryDatabaseUrl)
- Parameters:
registryDatabaseUrl - the registryDatabaseUrl to set
setRegistryDatabaseUser
public void setRegistryDatabaseUser(java.lang.String registryDatabaseUser)
- Parameters:
registryDatabaseUser - the registryDatabaseUser to set
setRegistryMode
public void setRegistryMode(ContainerConfiguration.RegistryMode registryMode)
- Parameters:
registryMode - the registryMode to set
setRegistryPort
public void setRegistryPort(int registryPort)
- Parameters:
registryPort - the registryPort to set
setRegistryRepository
public void setRegistryRepository(java.lang.String registryRepository)
- Parameters:
registryRepository - the registryRepository to set
setRegistrySynchroPeriod
public void setRegistrySynchroPeriod(int registrySynchroPeriod)
- Parameters:
registrySynchroPeriod - the registrySynchroPeriod to set
setRegistryTransportTimeout
public void setRegistryTransportTimeout(int registryTransportTimeout)
- Parameters:
registryTransportTimeout - the registryTransportTimeout to set
setRepositoryDirectoryPath
public void setRepositoryDirectoryPath(java.lang.String repositoryDirectoryPath)
- Parameters:
repositoryDirectoryPath - the repositoryDirectoryPath to set
setRootDirectoryPath
public void setRootDirectoryPath(java.lang.String rootDirectoryPath)
- Parameters:
rootDirectoryPath - the rootDirectoryPath to set
setRouterQOS
public void setRouterQOS(java.lang.String routerQOS)
- Parameters:
routerQOS - the routerQOS to set
setRouterSendAttempt
public void setRouterSendAttempt(short routerSendAttempt)
- Parameters:
routerSendAttempt - the routerSendAttempt to set
setRouterSendDelay
public void setRouterSendDelay(int routerSendDelay)
- Parameters:
routerSendDelay - the routerSendDelay to set
setRouterStrategy
public void setRouterStrategy(java.lang.String routerStrategy)
- Parameters:
routerStrategy - the routerStrategy to set
setSslKeyPassword
public void setSslKeyPassword(java.lang.String sslKeyPassword)
- Parameters:
sslKeyPassword - the sslKeyPassword to set
setSSLKeyPassword
public void setSSLKeyPassword(java.lang.String sslKeyPassword)
- Parameters:
sslKeyPassword - the sslKeyPassword to set
setSslKeystore
public void setSslKeystore(java.lang.String sslKeystore)
- Parameters:
sslKeystore - the sslKeystore to set
setSSLKeystore
public void setSSLKeystore(java.lang.String sslKeystore)
- Parameters:
sslKeystore - the sslKeystore to set
setSslKeystorePassword
public void setSslKeystorePassword(java.lang.String sslKeystorePassword)
- Parameters:
sslKeystorePassword - the sslKeystorePassword to set
setSSLKeystorePassword
public void setSSLKeystorePassword(java.lang.String sslKeystorePassword)
- Parameters:
sslKeystorePassword - the sslKeystorePassword to set
setSslTruststore
public void setSslTruststore(java.lang.String sslTruststore)
- Parameters:
sslTruststore - the sslTruststore to set
setSSLTruststore
public void setSSLTruststore(java.lang.String sslTruststore)
- Parameters:
sslTruststore - the sslTruststore to set
setSslTruststorePassword
public void setSslTruststorePassword(java.lang.String sslTruststorePassword)
- Parameters:
sslTruststorePassword - the sslTruststorePassword to set
setSSLTruststorePassword
public void setSSLTruststorePassword(java.lang.String sslTruststorePassword)
- Parameters:
sslTruststorePassword - the sslTruststorePassword to set
setState
public void setState(ContainerConfiguration.ContainerState state)
- Parameters:
state - the state to set
setSubdomainName
public void setSubdomainName(java.lang.String subdomainName)
- Parameters:
subdomainName - the subdomainName to set
setTaskTimeout
public void setTaskTimeout(long taskTimeout)
- Parameters:
taskTimeout - the taskTimeout to set
setTcpConnectionTimeout
public void setTcpConnectionTimeout(long tcpConnectionTimeout)
- Parameters:
tcpConnectionTimeout - the tcpConnectionTimeout to set
setTCPConnectionTimeout
public void setTCPConnectionTimeout(long tcpConnectionTimeout)
- Parameters:
tcpConnectionTimeout - the tcpConnectionTimeout to set
setTcpPort
public void setTcpPort(int tcpPort)
- Parameters:
tcpPort - the tcpPort to set
setTCPPort
public void setTCPPort(int tcpPort)
- Parameters:
tcpPort - the tcpPort to set
setTcpReceivers
public void setTcpReceivers(int tcpReceivers)
- Parameters:
tcpReceivers - the tcpReceivers to set
setTCPReceivers
public void setTCPReceivers(int tcpReceivers)
- Parameters:
tcpReceivers - the tcpReceivers to set
setTcpSenderEvictableDelay
public void setTcpSenderEvictableDelay(long tcpSenderEvictableDelay)
- Parameters:
tcpSenderEvictableDelay - the tcpSenderEvictableDelay to set
setTCPSenderEvictableDelay
public void setTCPSenderEvictableDelay(long tcpSenderEvictableDelay)
- Parameters:
tcpSenderEvictableDelay - the tcpSenderEvictableDelay to set
setTcpSenderEvictorDelay
public void setTcpSenderEvictorDelay(long tcpSenderEvictorDelay)
- Parameters:
tcpSenderEvictorDelay - the tcpSenderEvictorDelay to set
setTCPSenderEvictorDelay
public void setTCPSenderEvictorDelay(long tcpSenderEvictorDelay)
- Parameters:
tcpSenderEvictorDelay - the tcpSenderEvictorDelay to set
setTcpSenders
public void setTcpSenders(int tcpSenders)
- Parameters:
tcpSenders - the tcpSenders to set
setTCPSenders
public void setTCPSenders(int tcpSenders)
- Parameters:
tcpSenders - the tcpSenders to set
setTcpSendTimeout
public void setTcpSendTimeout(long tcpSendTimeout)
- Parameters:
tcpSendTimeout - the tcpSendTimeout to set
setTCPSendTimeout
public void setTCPSendTimeout(long tcpSendTimeout)
- Parameters:
tcpSendTimeout - the tcpSendTimeout to set
setTopologyUpdatePeriod
public void setTopologyUpdatePeriod(long topologyUpdatePeriod)
- Parameters:
topologyUpdatePeriod -
setUser
public void setUser(java.lang.String user)
- Parameters:
user - the user to set
setUserConfiguration
public void setUserConfiguration(java.util.Map<java.lang.String,java.lang.String> userConfiguration)
- Parameters:
userConfiguration - the userConfiguration to set
setWebservicePort
public void setWebservicePort(int webservicePort)
- Parameters:
webservicePort - the webservicePort to set
setWebservicePrefix
public void setWebservicePrefix(java.lang.String webservicePrefix)
- Parameters:
webservicePrefix - the webservicePrefix to set
setWorkDirectoryPath
public void setWorkDirectoryPath(java.lang.String workDirectoryPath)
- Parameters:
workDirectoryPath - the workDirectoryPath to set
getRecoveryCorePoolSize
public int getRecoveryCorePoolSize()
setRecoveryCorePoolSize
public void setRecoveryCorePoolSize(int recoveryCorePoolSize)
getRecoveryMaxPoolSize
public int getRecoveryMaxPoolSize()
setRecoveryMaxPoolSize
public void setRecoveryMaxPoolSize(int recoveryMaxPoolSize)
getRecoveryKeepAliveTime
public long getRecoveryKeepAliveTime()
setRecoveryKeepAliveTime
public void setRecoveryKeepAliveTime(long recoveryKeepAliveTime)
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.