Class PlexusAnnotatedBeanModule

java.lang.Object
org.eclipse.sisu.plexus.PlexusAnnotatedBeanModule
All Implemented Interfaces:
PlexusBeanModule

public final class PlexusAnnotatedBeanModule extends Object implements PlexusBeanModule
PlexusBeanModule that binds Plexus components by scanning classes for runtime annotations.
  • Field Details

    • PLEXUS_STRATEGY

      private static final SpaceModule.Strategy PLEXUS_STRATEGY
    • spaceModule

      private com.google.inject.Module spaceModule
    • beanSource

      private final PlexusBeanSource beanSource
  • Constructor Details

    • PlexusAnnotatedBeanModule

      public PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables)
      Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
      Parameters:
      space - The local class space
      variables - The filter variables
    • PlexusAnnotatedBeanModule

      public PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables, BeanScanning scanning)
      Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
      Parameters:
      space - The local class space
      variables - The filter variables
      scanning - The scanning options
  • Method Details