org.apache.geronimo.kernel.config
Class ConfigurationModel

java.lang.Object
  extended by org.apache.geronimo.kernel.config.ConfigurationModel

public class ConfigurationModel
extends Object


Constructor Summary
ConfigurationModel()
           
 
Method Summary
 void addConfiguation(Artifact configurationId, Set loadParentIds, Set startParentIds)
           
 boolean containsConfiguration(Artifact configurationId)
           
 Set getLoaded()
           
 Artifact[] getLoaded(Artifact query)
           
 Set getStarted()
           
 Artifact[] getStarted(Artifact query)
           
 Set getUserLoaded()
           
 Set getUserStarted()
           
 boolean isLoaded(Artifact configurationId)
           
 boolean isStarted(Artifact configurationId)
           
 LinkedHashSet load(Artifact configurationId)
           
 LinkedHashSet reload(Artifact existingConfigurationId)
           
 void removeConfiguration(Artifact configurationId)
           
 LinkedHashSet restart(Artifact configurationId)
           
 LinkedHashSet start(Artifact configurationId)
           
 LinkedHashSet stop(Artifact configurationId)
           
 LinkedHashSet stop(Artifact configurationId, boolean gc)
           
 LinkedHashSet unload(Artifact configurationId)
           
 LinkedHashSet unload(Artifact configurationId, boolean gc)
           
 void upgradeConfiguration(Artifact existingId, Artifact newId, Set newLoadParentIds, Set newStartParentIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationModel

public ConfigurationModel()
Method Detail

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.