com.metamatrix.dqp.embedded
Class EmbeddedConfigSource

java.lang.Object
  extended by 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.


Field Summary
 
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, MIN_FETCH_SIZE, PROCESS_POOL_MAX_THREADS, PROCESS_POOL_THREAD_TTL, PROCESSOR_DEBUG_ALLOWED, PROCESSOR_TIMESLICE, RESULTSET_CACHE_SCOPE, STREAMING_BATCH_SIZE, USE_RESULTSET_CACHE
 
Constructor Summary
EmbeddedConfigSource(java.util.Properties connectionProperties)
          Based the configuration file load the DQP services
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Class<? extends ApplicationService>> getDefaultServiceClasses()
           
 java.util.Properties getProperties()
           
 void updateBindings(com.google.inject.Binder binder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedConfigSource

public EmbeddedConfigSource(java.util.Properties connectionProperties)
Based the configuration file load the DQP services

Parameters:
configFile -
Throws:
ApplicationInitializationException
Method Detail

getProperties

public java.util.Properties getProperties()
Specified by:
getProperties in interface DQPConfigSource
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.