Class BrxmBeanRegistry

java.lang.Object
org.bloomreach.forge.brut.common.processor.BrxmBeanRegistry

public final class BrxmBeanRegistry extends Object
Reads the compile-time bean registry files written by BrxmBeanRegistryProcessor.

Both methods return empty collections when the registry resource is absent, preserving full backward compatibility with projects that do not have the annotation processor on their compile classpath.

  • Method Details

    • loadBeanClassNames

      public static Set<String> loadBeanClassNames(ClassLoader classLoader)
      Returns the fully-qualified class names of @Node-annotated beans recorded at compile time. Empty when the registry is absent.
      Parameters:
      classLoader - classloader to search for the registry resource
      Returns:
      insertion-ordered set of FQNs; never null