|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationService
Configuration Service, this is responsible for all the configuration for other services and also DQP configuration.
Field Summary | |
---|---|
static java.lang.String |
NEXT_VDB_VERSION
|
static java.lang.String |
USER_DEFINED_FUNCTION_MODEL
|
Method Summary | |
---|---|
ConnectorBinding |
addConnectorBinding(java.lang.String connectorBindingName,
ConnectorBinding binding,
boolean replace)
Add the connector binding to the persistent store |
VDBArchive |
addVDB(VDBArchive vdb,
boolean replaceBindings)
Add the VDB to the configuration |
void |
assignConnectorBinding(java.lang.String vdbName,
java.lang.String version,
java.lang.String modelName,
ConnectorBinding[] bindings)
Assign a connector binding to the Model |
void |
deleteConnectorBinding(java.lang.String connectorBindingName)
Delete the connector binding from the persistent store |
void |
deleteConnectorType(java.lang.String connectorType)
Delete the Given component type to the persistent store |
void |
deleteExtensionModule(java.lang.String extModuleName)
Delete the extension module from the configuration with name supplied |
void |
deleteVDB(VDBArchive vdb)
Delete the VDB from the underlying persistent mechanism used by this configuration service |
java.lang.String |
getBufferMemorySize()
Size of Memory in MB allocated to be used by the Resultset Management before disk buffering kicks in. |
java.util.Set<ServerConnection> |
getClientConnections()
This returns the active client connections that have been made to the DQP |
java.net.URL[] |
getCommonExtensionClasspath()
Get the user defined extension file classpath. |
java.net.URL |
getConfigFile()
Gets the reference URL to the Configuration File for the DQP. |
ServerConnectionListener |
getConnectionListener()
Client Connection Listener object for the service; This will get notifications about the connections currently available to DQP. |
java.lang.String |
getConnectorBatchSize()
Gets the connector batch size |
ConnectorBinding |
getConnectorBinding(java.lang.String connectorBindingName)
get the connector binding from the persistent store |
java.util.List<ConnectorBinding> |
getConnectorBindings()
Get the list of connector bindings available in the configuration. |
ConnectorBindingType |
getConnectorType(java.lang.String connectorType)
Get Component type for the given id |
java.util.List<ComponentType> |
getConnectorTypes()
Get list of all the connector types available in the System. |
java.util.Properties |
getDefaultProperties(ConnectorBinding binding)
Get the default properties for the Connector binding |
java.io.File |
getDiskBufferDirectory()
Get the directory to use for the disk buffering |
java.net.URL |
getEncryptionKeyStore()
Get the URL to the "metamatrixpki.keystore" file |
ExtensionModule |
getExtensionModule(java.lang.String extModuleName)
Get the extension module by the given identifier |
java.util.List |
getExtensionModules()
Get the list of extension modules available in the store |
java.net.URL |
getExtensionPath()
Retun the context class path to be used by all the extension modules to use. |
java.lang.String |
getInstanceIdenifier()
Return some identifier which uniquely identifies the DQP. |
java.net.URL |
getLogFile()
URL to Log file name |
java.lang.String |
getLogLevel()
Log Level |
java.lang.String |
getProcessorBatchSize()
Gets the processor batch size |
ConfigurationModelContainer |
getSystemConfiguration()
Get the system Configuration object loaded from the configuration object, this is currently only needed to support the exportConfiguration admin call. |
java.util.Properties |
getSystemProperties()
Get DQP properties |
java.net.URL |
getSystemVdb()
Get the VDB contents for the "System.VDB" |
java.net.URL |
getUDFFile()
Get the user defined functions file name |
VDBArchive |
getVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
Get the list of VDB files available with the Configuration Service, this includes all status (active, inactive) |
java.net.URL[] |
getVDBLocations()
Get path(s) for VDB(s) that are availble from the configuration to the DQP engine. |
java.util.List<VDBArchive> |
getVDBs()
Get a list of available VDBS from the configuration |
boolean |
isFullyConfiguredVDB(VDBArchive vdb)
|
void |
loadUDF()
Load the UDF function model |
void |
register(ConnectorBindingLifeCycleListener listener)
Register a listener for the connector binding life cycle events, and get notified for when connector binding is loded and unloaded |
void |
register(VDBLifeCycleListener listener)
Register a listener for the VDB life cycle events, and get notified for when vdb is loded and unloaded |
void |
saveConnectorType(ConnectorBindingType type)
Add the Given component type to the persistent store |
void |
saveExtensionModule(ExtensionModule extModule)
Save the given extension module |
void |
saveVDB(VDBArchive vdb,
java.lang.String version)
Save the given vdb file into underlying persistent mechanism used by this configuration service |
void |
setSystemProperty(java.lang.String key,
java.lang.String value)
Set System property (Contents of ServerConfig.xml file) |
void |
unloadUDF()
Unload the User defined functions file. |
void |
unregister(ConnectorBindingLifeCycleListener listener)
|
void |
unregister(VDBLifeCycleListener listener)
|
ConnectorBinding |
updateConnectorBinding(ConnectorBinding binding)
Update the Connector Binding, the assumption here that we kept the name same |
void |
updateSystemProperties(java.util.Properties properties)
Set several System properties (Contents of ServerConfig.xml file). |
boolean |
useDiskBuffering()
Use disk for buffering for result set management during the processing |
boolean |
useExtensionClasspath()
Use the extension classpath defined in the connector bindins and load jars in different class loader or in the same class loader as calling code |
Methods inherited from interface com.metamatrix.common.application.ApplicationService |
---|
initialize, start, stop |
Field Detail |
---|
static final java.lang.String NEXT_VDB_VERSION
static final java.lang.String USER_DEFINED_FUNCTION_MODEL
Method Detail |
---|
java.net.URL getSystemVdb()
java.util.Properties getSystemProperties()
MetaMatrixComponentException
void setSystemProperty(java.lang.String key, java.lang.String value) throws MetaMatrixComponentException
key
- value
-
MetaMatrixComponentException
void updateSystemProperties(java.util.Properties properties) throws MetaMatrixComponentException
properties
- The properties to set.
MetaMatrixComponentException
ConfigurationModelContainer getSystemConfiguration() throws MetaMatrixComponentException
MetaMatrixComponentException
java.net.URL getUDFFile()
java.net.URL[] getCommonExtensionClasspath()
java.net.URL getLogFile()
java.lang.String getLogLevel()
void saveVDB(VDBArchive vdb, java.lang.String version) throws MetaMatrixComponentException
vdb
- - VDB to be savedversion
- - Version to be saved as; when used text "NEXT_VDB_VERSION" as version
save as the next available version.
MetaMatrixComponentException
VDBArchive addVDB(VDBArchive vdb, boolean replaceBindings) throws MetaMatrixComponentException
vdb
- - vdb to be addedreplaceBindings
- - flag which specifies action to be taken in case there are conflicts in
connector bindings.
MetaMatrixComponentException
void deleteVDB(VDBArchive vdb) throws MetaMatrixComponentException
vdbName
- - Name of the VDBvdbVersion
- - VDB version
MetaMatrixComponentException
void assignConnectorBinding(java.lang.String vdbName, java.lang.String version, java.lang.String modelName, ConnectorBinding[] bindings) throws MetaMatrixComponentException
vdbName
- - Name of the VDBversion
- - version of the VDBmodelName
- - Model Namebindings
- - bindings to be assigned
MetaMatrixComponentException
VDBArchive getVDB(java.lang.String vdbName, java.lang.String vdbVersion) throws MetaMatrixComponentException
vdbName
- - Name of the VDBvdbVersio
- - VDB version.
MetaMatrixComponentException
java.util.List<VDBArchive> getVDBs() throws MetaMatrixComponentException
VDBArchive
MetaMatrixComponentException
ConnectorBinding addConnectorBinding(java.lang.String connectorBindingName, ConnectorBinding binding, boolean replace) throws MetaMatrixComponentException
connectorBindingName
- - Connector Binding Namebinding
- - Connector binding to Addreplace
- - flag to replace in case a duplicate found.
MetaMatrixComponentException
void deleteConnectorBinding(java.lang.String connectorBindingName) throws MetaMatrixComponentException
connectorBindingName
- - Connector Binding Name
MetaMatrixComponentException
ConnectorBinding getConnectorBinding(java.lang.String connectorBindingName) throws MetaMatrixComponentException
connectorBindingName
- - Connector Binding Name
MetaMatrixComponentException
java.util.Properties getDefaultProperties(ConnectorBinding binding)
binding
-
ConnectorBinding updateConnectorBinding(ConnectorBinding binding) throws MetaMatrixComponentException
binding
- - Connector Binding to be modified
MetaMatrixComponentException
java.util.List<ConnectorBinding> getConnectorBindings() throws MetaMatrixComponentException
ConnectorBinding
MetaMatrixComponentException
ConnectorBindingType getConnectorType(java.lang.String connectorType) throws MetaMatrixComponentException
id
-
MetaMatrixComponentException
void saveConnectorType(ConnectorBindingType type) throws MetaMatrixComponentException
type
-
MetaMatrixComponentException
void deleteConnectorType(java.lang.String connectorType) throws MetaMatrixComponentException
connectorType
- - Name of the connector Type
MetaMatrixComponentException
java.util.List<ComponentType> getConnectorTypes() throws MetaMatrixComponentException
ComponentType
MetaMatrixComponentException
java.net.URL getExtensionPath()
java.util.List getExtensionModules() throws MetaMatrixComponentException
ExtensionModule
MetaMatrixComponentException
ExtensionModule getExtensionModule(java.lang.String extModuleName) throws MetaMatrixComponentException
extModuleName
- - Module name
MetaMatrixComponentException
void saveExtensionModule(ExtensionModule extModule) throws MetaMatrixComponentException
MetaMatrixComponentException
void deleteExtensionModule(java.lang.String extModuleName) throws MetaMatrixComponentException
extModuleName
- - extension module name
MetaMatrixComponentException
ServerConnectionListener getConnectionListener()
MetaMatrixComponentException
void register(VDBLifeCycleListener listener)
listener
- - lister objectvoid unregister(VDBLifeCycleListener listener)
void register(ConnectorBindingLifeCycleListener listener)
listener
- - lister objectvoid unregister(ConnectorBindingLifeCycleListener listener)
java.net.URL getEncryptionKeyStore()
java.net.URL getConfigFile()
boolean useExtensionClasspath()
java.net.URL[] getVDBLocations()
boolean useDiskBuffering()
java.io.File getDiskBufferDirectory()
java.lang.String getBufferMemorySize()
java.lang.String getInstanceIdenifier()
java.util.Set<ServerConnection> getClientConnections()
java.lang.String getProcessorBatchSize()
java.lang.String getConnectorBatchSize()
void unloadUDF() throws MetaMatrixComponentException
MetaMatrixComponentException
void loadUDF() throws MetaMatrixComponentException
MetaMatrixComponentException
boolean isFullyConfiguredVDB(VDBArchive vdb) throws MetaMatrixComponentException
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |