- Modify StateMachineConfiguration and StateMachineFactoryConfiguration so that if you have different states and events classes with multiple machines or factories, you can autowire by types without adding qualifiers. - Manually try to discover generic types from enclosing adapther class and if succesfull pass that information into bean definition as ResolvableType. - Backporting #306 - Relates to #307