org.apache.geronimo.kernel.config
Class ConfigurationStatus

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

public class ConfigurationStatus
extends Object


Constructor Summary
ConfigurationStatus(Artifact configId, Set loadParents, Set startParents)
           
 
Method Summary
 void destroy()
           
 Artifact getConfigurationId()
           
 boolean isLoaded()
           
 boolean isStarted()
           
 boolean isUserLoaded()
           
 boolean isUserStarted()
           
 LinkedHashSet load()
           
 LinkedHashSet reload()
           
 LinkedHashSet restart()
           
 LinkedHashSet start()
           
 LinkedHashSet stop(boolean gc)
          Stop this configuration and its children (if it's running) or do nothing (if it's not running).
 String toString()
           
 LinkedHashSet unload(boolean gc)
          Unload the configuration and all its children (if it's loaded), or do nothing (if it's not loaded).
 void upgrade(Artifact newId, Set newLoadParents, Set newStartParents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationStatus

public ConfigurationStatus(Artifact configId,
                           Set loadParents,
                           Set startParents)
Method Detail

destroy

public void destroy()

getConfigurationId

public Artifact getConfigurationId()

isLoaded

public boolean isLoaded()

isStarted

public boolean isStarted()

isUserLoaded

public boolean isUserLoaded()

isUserStarted

public boolean isUserStarted()

upgrade

public void upgrade(Artifact newId,
                    Set newLoadParents,
                    Set newStartParents)

load

public LinkedHashSet load()

start

public LinkedHashSet start()

stop

public LinkedHashSet stop(boolean gc)
Stop this configuration and its children (if it's running) or do nothing (if it's not running).


restart

public LinkedHashSet restart()

unload

public LinkedHashSet unload(boolean gc)
Unload the configuration and all its children (if it's loaded), or do nothing (if it's not loaded).


reload

public LinkedHashSet reload()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.