public interface DataContextFactory
DataContextobjects. Factories take
DataContextPropertiesand turn them into active
DataContextinstances. Multiple factories can exist in order to serve different kinds of properties, thereby offering a dynamic factory mechanism. The collection of factories is accessible via
DataContextFactoryRegistry. These factories are registered via the Java
ServiceLoaderSPI API. So add a file with path "/META-INF/services/org.apache.metamodel.factory.DataContextFactory" in any JAR file in order to register another factory.
|Modifier and Type||Method and Description|
boolean accepts(DataContextProperties properties, ResourceFactoryRegistry resourceFactoryRegistry)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.