- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class AtomikosApplicationContextAware
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Ensures proper init/shutdown ordering so recovery is streamlined.
Add an instance of this class to your Spring config to ensure proper startup and shutdown ordering of all Atomikos beans.
Make sure to remove all depends-on (as well as init and destroy method) declarations in your Spring config,
because they will conflict with this bean's work!