com.metamatrix.dqp.embedded
Class EmbeddedConfigSource
java.lang.Object
com.metamatrix.dqp.embedded.EmbeddedConfigSource
- All Implemented Interfaces:
- DQPConfigSource
public class EmbeddedConfigSource
- extends java.lang.Object
- implements DQPConfigSource
This class is main hook point for the Embedded DQP configuration. This classe's
responsibility is to encapsulate the knowledge of creating of the various application
services used the DQP.
Fields inherited from interface com.metamatrix.common.application.DQPConfigSource |
COMMAND_LOGGER_CLASSNAME, MAX_CODE_TABLE_RECORDS, MAX_CODE_TABLES, MAX_FETCH_SIZE, MAX_PLAN_CACHE_SIZE, MAX_RESULTSET_CACHE_AGE, MAX_RESULTSET_CACHE_SIZE, PROCESS_POOL_MAX_THREADS, PROCESSOR_DEBUG_ALLOWED, PROCESSOR_TIMESLICE, RESULTSET_CACHE_SCOPE, STREAMING_BATCH_SIZE, USE_RESULTSET_CACHE |
Constructor Summary |
EmbeddedConfigSource(java.net.URL dqpURL,
java.util.Properties connectionProperties)
Based the configuration file load the DQP services |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedConfigSource
public EmbeddedConfigSource(java.net.URL dqpURL,
java.util.Properties connectionProperties)
- Based the configuration file load the DQP services
- Parameters:
configFile
-
- Throws:
ApplicationInitializationException
getProperties
public java.util.Properties getProperties()
- Description copied from interface:
DQPConfigSource
- Get the DQP properties, as described in
DQPProperties
.
- Specified by:
getProperties
in interface DQPConfigSource
- Returns:
- Set of properties to configure DQP
- See Also:
DQPConfigSource.getProperties()
updateBindings
public void updateBindings(com.google.inject.Binder binder)
- Specified by:
updateBindings
in interface DQPConfigSource
getDefaultServiceClasses
public java.util.Map<java.lang.String,java.lang.Class<? extends ApplicationService>> getDefaultServiceClasses()
- Specified by:
getDefaultServiceClasses
in interface DQPConfigSource
Copyright © 2009. All Rights Reserved.