DynamicConfiguration
in order to atomically participate in the changes being made to the
ServiceLocator. No changes to the ServiceLocator can be made from
any method of this interface, otherwise the ServiceLocator can be
left in an inconsistent state
| Modifier and Type | Method and Description |
|---|---|
| public void | activateDynamicConfiguration(TwoPhaseTransactionData
Information about the dynamic configuration for which this resource
was registered dynamicConfiguration)Once all TwoPhaseResource prepare methods have completed successfully the activate method will be called on all registered TwoPhaseResource implementations. |
| public void | prepareDynamicConfiguration(TwoPhaseTransactionData
Information about the dynamic configuration for which this resource
was registered dynamicConfiguration)This method is called prior to any changes being made to the |
| public void | rollbackDynamicConfiguration(TwoPhaseTransactionData
Information about the dynamic configuration for which this resource
was registered dynamicConfiguration)If any TwoPhaseResource fails then all TwoPhaseResources that successfully completed their prepare method will get this method invoked. |
| activateDynamicConfiguration | back to summary |
|---|---|
| public void activateDynamicConfiguration(TwoPhaseTransactionData dynamicConfiguration) Once all TwoPhaseResource prepare methods have completed successfully the activate method will be called on all registered TwoPhaseResource implementations. Any exception from this method will be ignored (though they will be logged if debug logging is turned on). This method is called after the write lock has been released and all other listeners have been called
| |
| prepareDynamicConfiguration | back to summary |
|---|---|
| public void prepareDynamicConfiguration(TwoPhaseTransactionData dynamicConfiguration) throws MultiException This method is called prior to any changes being made to the
| |
| rollbackDynamicConfiguration | back to summary |
|---|---|
| public void rollbackDynamicConfiguration(TwoPhaseTransactionData dynamicConfiguration) If any TwoPhaseResource fails then all TwoPhaseResources that successfully completed their prepare method will get this method invoked. Any exceptions from this method will be ignored (though they will be logged if debugging is turned on). This method is called with the write lock of the ServiceLocator held
| |