sonatype/nexus-oss — pull request #215 by adreghiciu (2013-10-31 12:07:49+00:00)
Title: WIP: [NEXUS-6072] Refactor internal capability reference statuses & error handling

https://issues.sonatype.org/browse/NEXUS-6072

* change logging to use var args
* replaced AbstractLoggingComponent -> ComponentSupport
* dropped InvalidState as it becomes obsolete
* renamed ValidState to DisabledState
* always transition to disabled state even if onCreate() fails. This allows capability to be updated in order to fix
problems thrown by onCreate(). Otherwise capability ended up in a state (invalid) where no operations could be performed
* always transition to disabled state even if onLoad() fails. Same explanation as above.
* always transition to removed state even if onRemove() fails. Capability is anyhow already removed from store and passivated.