org.zirbes.grails.deploy
[Groovy] Class ConfigBuilder
java.lang.Object
org.zirbes.grails.deploy.ConfigBuilder
class ConfigBuilder
This class is used to ease the loading of configuration
settings coming from a heirarchy of locations. Alternatively
use can use the getDefaultConfiguration() method to get a
default configuration map that you can modify for use without
loading any configuration settings from the config files or
command line parameters.
Property Summary |
static java.lang.Object |
log
|
Method Summary |
static java.util.Map
|
getDefaultConfiguration()
Returns a default configuration map that can be used
without needing to load settings from the BuildConfig,
settings.groovy, or command line args.
|
static java.util.Map
|
loadConfiguration(java.lang.String destination, java.util.Map argsMap, java.lang.Object destConfigs)
This returns a Map of settings used by the DeployerService to
configure containers and deployers for use in deploying war files
and controlling applications already deployed to a container.
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
log
static java.lang.Object log
-
ConfigBuilder
ConfigBuilder()
-
getDefaultConfiguration
static java.util.Map getDefaultConfiguration()
- Returns a default configuration map that can be used
without needing to load settings from the BuildConfig,
settings.groovy, or command line args. This is mostly
useful if you're using the service directly within your
application rather than through the grails 'deploy'
command.
It will return the Map:
[ containerId: 'tomcat7x',
containerType: 'remote',
deployerType: 'remote',
configurationType: 'runtime',
propertSet: [
protocol: 'http',
hostname: 'localhost',
'servlet.port': 8080 ] ]
loadConfiguration
static java.util.Map loadConfiguration(java.lang.String destination, java.util.Map argsMap, java.lang.Object destConfigs)
- This returns a Map of settings used by the DeployerService to
configure containers and deployers for use in deploying war files
and controlling applications already deployed to a container.
Groovy Documentation