public class ExtensionBasedQuerySpecificationLoader
extends java.lang.Object
QuerySpecificationRegistry based on the query group extensions generated by the VIATRA Query
builder. The loader has a single instance that processes the extensions on demand if the platform is running, caches
the results and updates the QuerySpecificationRegistry. Note that the loader does not perform class loading
on the query group if possible.
The class has a single instance accessible with getInstance().
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONNECTOR_ID |
| Constructor and Description |
|---|
ExtensionBasedQuerySpecificationLoader() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionBasedQuerySpecificationLoader |
getInstance() |
IRegistrySourceConnector |
getSourceConnector()
Return a source connector that can be used to load query specifications contributed through
extensions into a
IQuerySpecificationRegistry. |
void |
loadRegisteredQuerySpecificationsIntoRegistry()
Loads the query specifications that are registered through extension points into the
QuerySpecificationRegistry. |
public static final java.lang.String CONNECTOR_ID
public ExtensionBasedQuerySpecificationLoader()
public static ExtensionBasedQuerySpecificationLoader getInstance()
public void loadRegisteredQuerySpecificationsIntoRegistry()
QuerySpecificationRegistry.public IRegistrySourceConnector getSourceConnector()
IQuerySpecificationRegistry.