此内容没有您所选择的语言版本。
6.3. Using the Microcontainer with Spring
Example 6.2. Descriptor with Spring Support
This file's namespace is different from the plain Microcontainer bean’s file. The
urn:jboss:spring-beans:2.0
namespace points to your version of the Spring schema port, which describes your bean's Spring style. The Microcontainer, rather than Spring's bean factory notion, deploys the beans.
Example 6.3. Using Spring with the Microcontainer
Although the SpringPojo bean has a dependency on Spring's library caused by implementing BeanNameAware interface, its only purpose is to expose and mock some of the Spring's callback behavior.