@Retention(value=RUNTIME) @Target(value=TYPE) public @interface IOCProvider
Top-level providers are used for defining framework-level features such as support for injecting instances of the MessageBus or the RPC Callable interface.
The production of top-level providers are not managed beans. But the instances of the top-level providers are themselves, managed and are scopable. Thus, all top-level providers that do not declare an explicit scope are of the pseudo-dependant scope and are instantiated prior to all invocations of the provider.
Classes which are annotated with @IOCProvider MUST implement either:
Provider
ContextualTypeProvider
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.