There are a number of inner classes that extend this class (`GatewayDelegate` in JMS and `Gateway` in the content enricher, `MethodInvocationGateway` in the `GPFB` etc).

These need to be populated with the `BeanFactory` so their `MessagingTemplate`s can be configured.