For example, this XML bean definition will make itself available to plugins to be auto-wired:
<bean name="foo" class="my.Foo" plugin:available="true" />
PluginAvailableBeanDefinitionDecorator | Processes an "available" attribute in the plugin namespace. |
PluginContextClassLoaderStrategyBeanDefinitionDecorator | Processes an "contextClassLoader" strategy attribute in the plugin namespace. |
PluginInterfaceBeanDefinitionDecorator | Matches the |
PluginNamespaceHandler | Handler for the "plugin" namespace |