| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ClassFactory | |
| private DataValueFactory | |
| private ExecutionFactory | |
| private JavaFactory | |
| private int | |
| private OptimizerFactory | |
| private PropertyFactory | |
| private CacheManager | |
| private TypeCompilerFactory | |
| private UUIDFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Serviceable | apply(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Apply a property change. |
| public void | boot(boolean
True if the database should be created create, Properties The start-up parameters (ignored in this case) startParams)Implements org. Start-up method for this instance of the language connection factory. |
| private static Object | bootServiceModule(final boolean create, final Object serviceModule, final String factoryInterface, final Properties properties)
Must be private so that user code can't call this entry point. |
| public boolean | canSupport(Properties startParams)
Implements org. this implementation will not support caching of statements. |
| private static Object | findServiceModule(final Object serviceModule, final String factoryInterface)
Must be private so that user code can't call this entry point. |
| private static Object | findSystemModule(final String factoryInterface)
Must be private so that user code can't call this entry point. |
| public ClassFactory | getClassFactory()
Implements org. Get the ClassFactory to use with this language connection |
| public DataValueFactory | getDataValueFactory()
Implements org. Get the DataValueFactory to use with this language connection |
| public ExecutionFactory | getExecutionFactory()
Implements org. Get the ExecutionFactory to use with this language connection |
| public JavaFactory | getJavaFactory()
Implements org. Get the JavaFactory to use with this language connection REMIND: this is only used by the compiler; should there be a compiler module control class to boot compiler-only stuff? |
| pack-priv static ModuleFactory | |
| protected synchronized int | |
| public OptimizerFactory | getOptimizerFactory()
Implements org. Get the OptimizerFactory to use with this language connection |
| public PropertyFactory | getPropertyFactory()
Implements org. Get the PropertyFactory to use with this language connection |
| private static Object | getServiceModule(final Object serviceModule, final String factoryInterface)
Must be private so that user code can't call this entry point. |
| public Statement | Returns: The Statementschema compilationSchema, String the text for the statement statementText, boolean if concurrency is CONCUR_READ_ONLY forReadOnly)Implements org. Get a Statement for the connection |
| public CacheManager | getStatementCache()
Implements org. returns the statement cache that this connection should use; currently there is a statement cache per database. |
| public TypeCompilerFactory | getTypeCompilerFactory()
Implements org. Get the TypeCompilerFactory to use with this language connection |
| public UUIDFactory | getUUIDFactory()
Implements org. Get the UUIDFactory to use with this language connection REMIND: this is only used by the compiler; should there be a compiler module control class to boot compiler-only stuff? |
| public void | init(boolean
true if only per-database properties are to be looked at dbOnly, Dictionary<K, V> the complete set of per-database properties. p)Implements org. Initialize the properties for this callback. |
| public Serializable | map(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Map a proposed new value for a property to an official value. |
| public Cacheable | |
| public LanguageConnectionContext | Returns: a language connection context for the context stack.Implements org. Get a LanguageConnectionContext. |
| public Parser | |
| protected void | |
| private static Object | startSystemModule(final String factoryInterface)
Must be private so that user code can't call this entry point. |
| private int | |
| public void | |
| public boolean | validate(String
Property key for the property being set key, Serializable proposed new value for the property being set or null if
the property is being dropped. value, Dictionary<K, V> Property set before the change. SettingProperty may read but
must never change p. p)Implements org. Validate a property change. |
| cacheSize | back to summary |
|---|---|
| private int cacheSize | |
| classFactory | back to summary |
|---|---|
| private ClassFactory classFactory | |
| dvf | back to summary |
|---|---|
| private DataValueFactory dvf | |
| ef | back to summary |
|---|---|
| private ExecutionFactory ef | |
| javaFactory | back to summary |
|---|---|
| private JavaFactory javaFactory | |
| nextLCCInstanceNumber | back to summary |
|---|---|
| private int nextLCCInstanceNumber | |
| of | back to summary |
|---|---|
| private OptimizerFactory of | |
| pf | back to summary |
|---|---|
| private PropertyFactory pf | |
| singleStatementCache | back to summary |
|---|---|
| private CacheManager singleStatementCache | |
| tcf | back to summary |
|---|---|
| private TypeCompilerFactory tcf | |
| uuidFactory | back to summary |
|---|---|
| private UUIDFactory uuidFactory | |
| GenericLanguageConnectionFactory | back to summary |
|---|---|
| public GenericLanguageConnectionFactory() | |
| apply | back to summary |
|---|---|
| public Serviceable apply(String key, Serializable value, Dictionary<K, V> p) Implements org. Doc from org. Apply a property change. Will only be called after validate has been called and only if validate returned true. If this method is called then the new value is the value to be used, ie. the property is not set in the overriding JVM system set.
| |
| boot | back to summary |
|---|---|
| public void boot(boolean create, Properties startParams) throws StandardException Implements org. Start-up method for this instance of the language connection factory. Note these are expected to be booted relative to a Database.
| |
| bootServiceModule | back to summary |
|---|---|
| private static Object bootServiceModule(final boolean create, final Object serviceModule, final String factoryInterface, final Properties properties) throws StandardException Must be private so that user code can't call this entry point. | |
| canSupport | back to summary |
|---|---|
| public boolean canSupport(Properties startParams) Implements org. this implementation will not support caching of statements.
| |
| findServiceModule | back to summary |
|---|---|
| private static Object findServiceModule(final Object serviceModule, final String factoryInterface) throws StandardException Must be private so that user code can't call this entry point. | |
| findSystemModule | back to summary |
|---|---|
| private static Object findSystemModule(final String factoryInterface) throws StandardException Must be private so that user code can't call this entry point. | |
| getClassFactory | back to summary |
|---|---|
| public ClassFactory getClassFactory() Implements org. Get the ClassFactory to use with this language connection | |
| getDataValueFactory | back to summary |
|---|---|
| public DataValueFactory getDataValueFactory() Implements org. Get the DataValueFactory to use with this language connection | |
| getExecutionFactory | back to summary |
|---|---|
| public ExecutionFactory getExecutionFactory() Implements org. Get the ExecutionFactory to use with this language connection | |
| getJavaFactory | back to summary |
|---|---|
| public JavaFactory getJavaFactory() Implements org. Get the JavaFactory to use with this language connection REMIND: this is only used by the compiler; should there be a compiler module control class to boot compiler-only stuff? | |
| getMonitor | back to summary |
|---|---|
| pack-priv static ModuleFactory getMonitor() Must be package private so that user code can't call this entry point. | |
| getNextLCCInstanceNumber | back to summary |
|---|---|
| protected synchronized int getNextLCCInstanceNumber() Get the instance # for the next LCC. (Useful for logStatementText=true output.
| |
| getOptimizerFactory | back to summary |
|---|---|
| public OptimizerFactory getOptimizerFactory() Implements org. Get the OptimizerFactory to use with this language connection | |
| getPropertyFactory | back to summary |
|---|---|
| public PropertyFactory getPropertyFactory() Implements org. Get the PropertyFactory to use with this language connection | |
| getServiceModule | back to summary |
|---|---|
| private static Object getServiceModule(final Object serviceModule, final String factoryInterface) Must be private so that user code can't call this entry point. | |
| getStatement | back to summary |
|---|---|
| public Statement getStatement(SchemaDescriptor compilationSchema, String statementText, boolean forReadOnly) Implements org. Get a Statement for the connection
| |
| getStatementCache | back to summary |
|---|---|
| public CacheManager getStatementCache() Implements org. returns the statement cache that this connection should use; currently there is a statement cache per database. | |
| getTypeCompilerFactory | back to summary |
|---|---|
| public TypeCompilerFactory getTypeCompilerFactory() Implements org. Get the TypeCompilerFactory to use with this language connection | |
| getUUIDFactory | back to summary |
|---|---|
| public UUIDFactory getUUIDFactory() Implements org. Get the UUIDFactory to use with this language connection REMIND: this is only used by the compiler; should there be a compiler module control class to boot compiler-only stuff? | |
| init | back to summary |
|---|---|
| public void init(boolean dbOnly, Dictionary<K, V> p) Implements org. Doc from org. Initialize the properties for this callback. Called when addPropertySetNotification() is called with a non-null transaction controller. This allows code to set read its initial property values at boot time. Code within an init() method should use the 3 argument PropertyUtil method getPropertyFromSet() to obtain a property's value.
| |
| map | back to summary |
|---|---|
| public Serializable map(String key, Serializable value, Dictionary<K, V> p) Implements org. Doc from org. Map a proposed new value for a property to an official value. Will only be called after apply() has been called.
| |
| newCacheable | back to summary |
|---|---|
| public Cacheable newCacheable(CacheManager cm) Implements org. | |
| newLanguageConnectionContext | back to summary |
|---|---|
| public LanguageConnectionContext newLanguageConnectionContext(ContextManager cm, TransactionController tc, LanguageFactory lf, Database db, String userName, String drdaID, String dbname) throws StandardException Implements org. Get a LanguageConnectionContext. this holds things we want to remember about activity in the language system, where this factory holds things that are pretty stable, like other factories. The returned LanguageConnectionContext is intended for use only by the connection that requested it.
| |
| newParser | back to summary |
|---|---|
| public Parser newParser(CompilerContext cc) Implements org. | |
| setValidation | back to summary |
|---|---|
| protected void setValidation() throws StandardException | |
| startSystemModule | back to summary |
|---|---|
| private static Object startSystemModule(final String factoryInterface) throws StandardException Must be private so that user code can't call this entry point. | |
| statementCacheSize | back to summary |
|---|---|
| private int statementCacheSize(Properties startParams) | |
| stop | back to summary |
|---|---|
| public void stop() Implements org. Stop this module. | |
| validate | back to summary |
|---|---|
| public boolean validate(String key, Serializable value, Dictionary<K, V> p) throws StandardException Implements org. Doc from org. Validate a property change.
| |