org.apache.geronimo.kernel.config
Class ConfigurationModel
java.lang.Object
org.apache.geronimo.kernel.config.ConfigurationModel
public class ConfigurationModel
- extends Object
- Version:
- $Rev: 821961 $ $Date: 2009-10-06 02:54:50 +0800 (Tue, 06 Oct 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationModel
public ConfigurationModel()
addConfiguration
public void addConfiguration(Artifact configurationId,
Set<Artifact> loadParentIds,
Set<Artifact> 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<Artifact> newLoadParentIds,
Set<Artifact> 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<Artifact> load(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
start
public LinkedHashSet<Artifact> start(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
stop
public LinkedHashSet<Artifact> stop(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
stop
public LinkedHashSet<Artifact> stop(Artifact configurationId,
boolean gc)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
restart
public LinkedHashSet<Artifact> restart(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
unload
public LinkedHashSet<Artifact> unload(Artifact configurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
unload
public LinkedHashSet<Artifact> unload(Artifact configurationId,
boolean gc)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
reload
public LinkedHashSet<Artifact> reload(Artifact existingConfigurationId)
throws NoSuchConfigException
- Throws:
NoSuchConfigException
getLoaded
public Set<Artifact> getLoaded()
getStarted
public Set<Artifact> getStarted()
getUserLoaded
public Set<Artifact> getUserLoaded()
getUserStarted
public Set<Artifact> getUserStarted()
getStartedChildren
public LinkedHashSet<Artifact> getStartedChildren(Artifact configurationId)
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.