Class InjectionSource.ResolutionContext

  • Enclosing class:
    InjectionSource

    public static class InjectionSource.ResolutionContext
    extends Object
    A resolution context for the injection source.
    • Constructor Detail

      • ResolutionContext

        public ResolutionContext​(boolean compUsesModule,
                                 String componentName,
                                 String moduleName,
                                 String applicationName)
    • Method Detail

      • isCompUsesModule

        public boolean isCompUsesModule()
        Determine whether the resolution context has a combined "comp" and "module" namespace.
        Returns:
        true if "comp" is an alias for "module", false otherwise
      • getComponentName

        public String getComponentName()
        Get the current component name, or null if there is none.
        Returns:
        the current component name
      • getModuleName

        public String getModuleName()
        Get the current module name, or null if there is none.
        Returns:
        the current module name
      • getApplicationName

        public String getApplicationName()
        Get the current application name, or null if there is none.
        Returns:
        the current application name