We are extensively using Spring in our projects and use a lot of Dependency Injections and AOP cross-cutting concern modularization. I would really like to know something about the SealedAdaper class that uses the Inject annotation to inject the dependency, how is it different from the usual DI we perform by reading beans from a xml configuration.
The SealedAdapter is an alternative to XML configuration. It allows you to do all your configuration in Java code and test and manage your Adapter class directly inside your injector. The idea is to avoid XML configuration at all (by preferring the @Inject from Guice or @Autowired from Spring).