CatalogSqlManagerFactory Class
- public class CatalogSqlManagerFactory
extends Object
Factory for CatalogSqlManager instances. Implements a "Singleton" design
pattern for CatalogSqlManagers, where a single instance of a plugin exists
for each plugin class.
This is an advanced (internal) class and may be subject to change.
-
Hierarchy
-
Object
CatalogSqlManagerFactory
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogSqlManagerFactory
public CatalogSqlManagerFactory()
createManager(String, String) Method
public CatalogSqlManager
createManager(String
managerClassName,
String
schemaName)
throws ClassNotFoundException
, InstantiationException
, IllegalAccessException
Returns a singleton instance of a CatalogSqlManager denoted by the
supplied class name. The method uses the
design pattern that reduces contention and synchronization overhead.
Parameters
-
managerClassName
- The name of the
CatalogSqlManager
implementation class.
Exceptions
-
ClassNotFoundException
- if the class denoted by the
managerClassName
could not be found.
-
InstantiationException
- if the instantiation of an instance of the class denoted
by the
managerClassName
fails for some reason.
-
IllegalAccessException
- if the class or initializer denoted by the
managerClassName
is not accessible.