ArjunaRecoveryManagerService does not have all the methods I need, which are provided by RecoveryManager class. The one I need is getModules().

As for dependencies, I add the ArjunaRecoveryManagerService dependency when registering InboundBridgeService, so I guess it should be safe to use RecoveryManager.manager()? See here https://github.com/jbosstm/jboss-as/blob/e2273e53aa584bad46849301341e7cfa9a8e3ef8/rts/src/main/java/org/wildfly/extension/rts/RTSSubsystemAdd.java#L94