Interface ModuleComponent

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 Type
    Method
    Description
    void
    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.
    default Optional<String>
    Deprecated, for removal: This API element is subject to removal in a future version.
    The optional name for this instance.
  • Method Details

    • configure

      void configure(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.
      Parameters:
      binder - the binder used to register the services to the registry
    • named

      default Optional<String> named()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: OptionallyNamed
      The optional name for this instance.
      Specified by:
      named in interface OptionallyNamed
      Returns:
      the name associated with this instance or empty if not available or known