com.metamatrix.dqp.service.metadata
Class IndexMetadataService

java.lang.Object
  extended by com.metamatrix.dqp.service.metadata.IndexMetadataService
All Implemented Interfaces:
ApplicationService, MetadataService

public class IndexMetadataService
extends java.lang.Object
implements MetadataService

Since:
4.2

Constructor Summary
IndexMetadataService()
          Construct the IndexMetadataService
IndexMetadataService(QueryMetadataCache metadataCache)
          Construct the IndexMetadataService
 
Method Summary
 com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource(java.lang.String vdbName, java.lang.String vdbVersion)
           
 void initialize(java.util.Properties props)
          Initialize the service with the specified properties.
 QueryMetadataInterface lookupMetadata(java.lang.String vdbName, java.lang.String vdbVersion)
           
 void start(ApplicationEnvironment environment)
          Start the service with the specified environment.
 void stop()
          Stop the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexMetadataService

public IndexMetadataService()
Construct the IndexMetadataService


IndexMetadataService

public IndexMetadataService(QueryMetadataCache metadataCache)
Construct the IndexMetadataService

Method Detail

initialize

public void initialize(java.util.Properties props)
                throws ApplicationInitializationException
Description copied from interface: ApplicationService
Initialize the service with the specified properties.

Specified by:
initialize in interface ApplicationService
Parameters:
props - Initialialization properties
Throws:
ApplicationInitializationException - If an error occurs during initialization

start

public void start(ApplicationEnvironment environment)
           throws ApplicationLifecycleException
Description copied from interface: ApplicationService
Start the service with the specified environment. The environment can be used to find other services or resources.

Specified by:
start in interface ApplicationService
Parameters:
environment - Environment
Throws:
ApplicationLifecycleException - If an error occurs while starting

stop

public void stop()
          throws ApplicationLifecycleException
Description copied from interface: ApplicationService
Stop the service.

Specified by:
stop in interface ApplicationService
Throws:
ApplicationLifecycleException - If an error occurs while starting

getMetadataObjectSource

public com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource(java.lang.String vdbName,
                                                                                        java.lang.String vdbVersion)
                                                                                 throws MetaMatrixComponentException
Specified by:
getMetadataObjectSource in interface MetadataService
Throws:
MetaMatrixComponentException

lookupMetadata

public QueryMetadataInterface lookupMetadata(java.lang.String vdbName,
                                             java.lang.String vdbVersion)
                                      throws MetaMatrixComponentException
Specified by:
lookupMetadata in interface MetadataService
Throws:
MetaMatrixComponentException
Since:
4.2
See Also:
MetadataService.lookupMetadata(java.lang.String, java.lang.String)


Copyright © 2009. All Rights Reserved.