/** * Returns this builder's component factory. If no factory * has been set before, it is lazily initialized from the global * default as returned by {@link #getDefaultComponentFactory()}. * * @return the component factory * * @see #setComponentFactory(ComponentFactory) */ public final ComponentFactory getComponentFactory() { if (componentFactory == null) { componentFactory = createComponentFactory(); } return componentFactory; }