public interface LifecycleListener
Use the EventType in the context to determine the action occurring in the app.
NOTE: Your class will not be loaded unless you place your listener (and the META-INF/services file) in either an application shared library, or some other location in your ear that's visible to the application ear loader. ex: APP-INF/lib
void lifecycleEvent(LifecycleContext context)