Package io.github.cdiunit.internal
Interface DiscoveryExtension.BootstrapDiscoveryContext
- Enclosing interface:
- DiscoveryExtension
public static interface DiscoveryExtension.BootstrapDiscoveryContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
discoverClass
(BiConsumer<DiscoveryExtension.Context, Class<?>> callback) Register callback to handle class discovery.void
discoverExtension
(Consumer<DiscoveryExtension.Context> callback) Register callback to handle CDI extensions discovery.void
discoverField
(BiConsumer<DiscoveryExtension.Context, Field> callback) Register callback to handle field discovery.void
discoverMethod
(BiConsumer<DiscoveryExtension.Context, Method> callback) Register callback to handle method discovery.
-
Method Details
-
discoverExtension
Register callback to handle CDI extensions discovery.The callback is invoked once per discovery cycle.
- Parameters:
callback
- callback to handle CDI extensions discovery
-
discoverClass
Register callback to handle class discovery.The callback is invoked once per each class to discoverField.
- Parameters:
callback
- callback to handle extensions discovery
-
discoverField
Register callback to handle field discovery.The callback is invoked once per each declared field of each class to discoverField.
- Parameters:
callback
- callback to handle field discovery
-
discoverMethod
Register callback to handle method discovery.The callback is invoked once per each declared method of each class to discoverField.
- Parameters:
callback
- callback to handle method discovery
-