public interface DynamicCdiFactory extends DynamicCdi
The alternative would be to use some kind of classpath scanning tooling, but this way, we can rely entirely on CDI to get the appropriate classes.
A DynamicCdiFactory is a class that contains public non-argument methods that are annotated with @DynamicCdiTag. The DynamicCdiLoader will use these methods to create new dynamic CDI beans.
Note that DynamicCdiFactory extends DynamicCdi so we can use a single CDI lookup to find all classes related to dynamic CDI lookup.
Copyright © 2014. All rights reserved.