Style Intelligence v12.0

inetsoft.uql
Class XFactory

java.lang.Object
  extended by inetsoft.uql.XFactory

public class XFactory
extends Object

XFactory is a singlton object that can be used obtain instances of the query engine. The instances are reused, so consecutive calls to get a query engine returns the same object.


Constructor Summary
XFactory()
           
 
Method Summary
static void clear()
          Clear the cached service objects to key.
static XDataService getDataService()
          Get a specific runtime query engine object.
static XRepository getRepository()
          Get a specific repository object.
static void refresh()
          Refresh data source registry and query registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XFactory

public XFactory()
Method Detail

getRepository

public static XRepository getRepository()
                                 throws RemoteException
Get a specific repository object.

Throws:
RemoteException

getDataService

public static XDataService getDataService()
                                   throws RemoteException
Get a specific runtime query engine object.

Throws:
RemoteException

clear

public static void clear()
Clear the cached service objects to key. The next call to a 'get' method will instantiate a new service object.


refresh

public static void refresh()
Refresh data source registry and query registry.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.