public interface LifeCycleAware extends RegistryBean
Modifier and Type | Method and Description |
---|---|
void |
approveStateChange()
Approves the state change.
|
LCModel |
findLCModel()
Find the LCModel that is assigned to the registryBean.
|
LCRegistryObjectState |
getLCState()
Returns the current state of the registryBean.
|
void |
rejectStateChange()
Rejects the state change.
|
LCStateChangeStatus |
setLCState(LCState targetState)
Set the registry bean to the given state.
|
getDescription, getKey, getName, setDescription, setName
LCRegistryObjectState getLCState() throws CSAppFrameworkException
LCRegistryObjectState
, null
if no state definedCSAppFrameworkException
- - if the LCM provider encounters an internal errorLCStateChangeStatus setLCState(LCState targetState) throws CSAppFrameworkException
targetState
- The LCState
to which the registryBean is to be setLCStateChangeStatus
with possible values LCStateChangeStatus.OK
/
LCStateChangeStatus.PENDING
/
LCStateChangeStatus.FAILEDCSAppFrameworkException
- - if the LCM provider encounters an internal errorvoid approveStateChange() throws CSAppFrameworkException
CSAppFrameworkException
- - if the LCM provider encounters an internal errorvoid rejectStateChange() throws CSAppFrameworkException
CSAppFrameworkException
- - if the LCM provider encounters an internal errorLCModel findLCModel() throws CSAppFrameworkException
LCModel
of the registryBean, null
if no LCModel foundCSAppFrameworkException
- - If the LCM provider encounters an internal error