org.jboss.bootstrap.impl.base.config
Class AbstractBasicConfigurationInitializer<T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>
java.lang.Object
org.jboss.bootstrap.impl.base.config.AbstractBasicConfigurationInitializer<T>
- All Implemented Interfaces:
- org.jboss.bootstrap.spi.config.ConfigurationInitializer<T>
public abstract class AbstractBasicConfigurationInitializer<T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>
- extends Object
- implements org.jboss.bootstrap.spi.config.ConfigurationInitializer<T>
AbstractBasicConfigurationInitializer
Base for initializing a configuration before
its validated and used to run a server
- Version:
- $Revision: $
- Author:
- ALR
Fields inherited from interface org.jboss.bootstrap.spi.config.ConfigurationInitializer |
DEFAULT_VALUE_BOOTSTRAP_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBasicConfigurationInitializer
public AbstractBasicConfigurationInitializer()
initialize
public void initialize(T config)
throws org.jboss.bootstrap.spi.config.InvalidConfigurationException,
IllegalArgumentException,
IllegalStateException
- Specified by:
initialize
in interface org.jboss.bootstrap.spi.config.ConfigurationInitializer<T extends org.jboss.bootstrap.spi.config.ServerConfig<T>>
- Throws:
org.jboss.bootstrap.spi.config.InvalidConfigurationException
IllegalArgumentException
IllegalStateException
getDefaultBootstrapName
protected String getDefaultBootstrapName(T config)
- Returns the default bootstrap name
- Parameters:
config
- A configuration which may be used in determining the default value
- Returns:
getDefaultBootstrapHome
protected URL getDefaultBootstrapHome(T config)
- Returns the default bootstrap home
- Parameters:
config
- A configuration which may be used in determining the default value
- Returns:
applyPropertyOverrides
protected void applyPropertyOverrides(T config)
throws IllegalArgumentException
- Sets the values of contracted system/config properties upon the supplied configuration
- Throws:
IllegalArgumentException
- If the config was not specified
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.