org.apache.geronimo.kernel.config
Class ConfigurationModel
java.lang.Object
org.apache.geronimo.kernel.config.ConfigurationModel
public class ConfigurationModel
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationModel
public ConfigurationModel()
addConfiguation
public void addConfiguation(Artifact configurationId,
Set loadParentIds,
Set startParentIds)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
removeConfiguration
public void removeConfiguration(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
containsConfiguration
public boolean containsConfiguration(Artifact configurationId)
upgradeConfiguration
public void upgradeConfiguration(Artifact existingId,
Artifact newId,
Set newLoadParentIds,
Set newStartParentIds)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
isLoaded
public boolean isLoaded(Artifact configurationId)
getLoaded
public Artifact[] getLoaded(Artifact query)
isStarted
public boolean isStarted(Artifact configurationId)
getStarted
public Artifact[] getStarted(Artifact query)
load
public LinkedHashSet load(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
start
public LinkedHashSet start(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
stop
public LinkedHashSet stop(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
stop
public LinkedHashSet stop(Artifact configurationId,
boolean gc)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
restart
public LinkedHashSet restart(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
unload
public LinkedHashSet unload(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
unload
public LinkedHashSet unload(Artifact configurationId,
boolean gc)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
reload
public LinkedHashSet reload(Artifact existingConfigurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
getLoaded
public Set getLoaded()
getStarted
public Set getStarted()
getUserLoaded
public Set getUserLoaded()
getUserStarted
public Set getUserStarted()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.