public class ConfigurationElement extends Object
DefaultConfigurationFactory
class.Constructor and Description |
---|
ConfigurationElement() |
public void setClass(Class configurationClass)
configurationClass
- the configuration class to associate to the containing containerprotected Class getConfigurationClass()
public void addConfiguredDeployable(DeployableElement deployableElement)
deployableElement
- the nested deployable element to deployprotected List<DeployableElement> getDeployables()
public void addConfiguredConfigfile(FileConfig configfileElement)
configfileElement
- the nested config element to deployprotected List<FileConfig> getFileConfigs()
public void addConfiguredFile(FileConfig fileConfigElement)
fileConfigElement
- the nested file element to deployprotected List<FileConfig> getFiles()
public void addConfiguredProperty(Property property)
property
- the container property to addpublic File getPropertiesFile()
public void setPropertiesFile(File propertiesFile)
propertiesFile
- Container properties loaded from file.public void addConfiguredXmlreplacement(XmlReplacement xmlReplacement)
xmlReplacement
- the list of XML replacementsprotected List<XmlReplacement> getXmlReplacements()
public void addConfiguredDataSource(DataSourceElement dataSourceElement)
dataSourceElement
- the nested datasource elementpublic List<DataSourceElement> getDataSources()
public void addConfiguredUser(UserElement userElement)
userElement
- the nested user elementprotected List<UserElement> getUsers()
public void setType(String typeAsString)
typeAsString
- the configuration type as a stringConfigurationFactory
public ConfigurationType getType()
public void setHome(String home)
home
- the home directory to setpublic String getHome()
public Configuration createConfiguration(String containerId, ContainerType containerType)
containerId
- the container id associated with this configurationcontainerType
- the container type associated with this configurationCopyright © 2004–2019 Github. All rights reserved.