public class ComponentFactoryUtil extends Object
ComponentFactory
s.Constructor and Description |
---|
ComponentFactoryUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> ComponentFactory<T> |
createFactory(Class<? extends ComponentFactory<T>> factoryClass,
ComponentProvider componentProvider)
Uses the empty constructor or passes the
ComponentProvider if such a constructor exists. |
public static <T> ComponentFactory<T> createFactory(Class<? extends ComponentFactory<T>> factoryClass, ComponentProvider componentProvider) throws IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
ComponentProvider
if such a constructor exists.Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.