- All Superinterfaces:
OptionallyNamed
@Deprecated(forRemoval=true,
since="4.0.8")
@Contract
public interface ModuleComponent
extends OptionallyNamed
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
Provides aggregation of services to the "containing" (jar) module.
Implementations of this contract are normally code generated, although then can be programmatically written by the developer for special cases.
Note: instances of this type are not eligible for injection.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(ServiceBinder binder) Deprecated, for removal: This API element is subject to removal in a future version.Called by the provider implementation at bootstrapping time to bind all services / service providers to the service registry.named()Deprecated, for removal: This API element is subject to removal in a future version.The optional name for this instance.
-
Method Details
-
configure
Deprecated, for removal: This API element is subject to removal in a future version.Called by the provider implementation at bootstrapping time to bind all services / service providers to the service registry.- Parameters:
binder- the binder used to register the services to the registry
-
named
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:OptionallyNamedThe optional name for this instance.- Specified by:
namedin interfaceOptionallyNamed- Returns:
- the name associated with this instance or empty if not available or known
-