livespace.osgi.bootstrap
Class DeployMapConfig

java.lang.Object
  extended by livespace.osgi.bootstrap.DeployMapConfig

public class DeployMapConfig
extends Object


Constructor Summary
DeployMapConfig(URL defaultConfigPath, URL currentConfigPath)
           
 
Method Summary
 DeployConfig readDeployConfig(String hostname, String category)
           
 DeployConfig readDeployConfig(String hostname, String category, int startLevelOverride)
          Creates a deploy config by loading all the mapped deploy files into it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployMapConfig

public DeployMapConfig(URL defaultConfigPath,
                       URL currentConfigPath)
                throws IOException
Throws:
IOException
Method Detail

readDeployConfig

public DeployConfig readDeployConfig(String hostname,
                                     String category)
                              throws IOException
Throws:
IOException

readDeployConfig

public DeployConfig readDeployConfig(String hostname,
                                     String category,
                                     int startLevelOverride)
                              throws IOException
Creates a deploy config by loading all the mapped deploy files into it.

Parameters:
hostname - The (short) hostname.
category - The host category (may be null).
startLevelOverride - The start level that overrides the default set in the deploy config files. This may be -1 for no override.
Returns:
A deploy config object with the configs specified by this map loaded into it.
Throws:
IOException
See Also:
DeployConfig


Copyright © 2008 Commonwealth of Australia