|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.server.dqp.service.PlatformVDBService
public class PlatformVDBService
Implementation of VDBService used in a "normal" server environment.
| Constructor Summary | |
|---|---|
PlatformVDBService()
|
|
| Method Summary | |
|---|---|
void |
changeVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion,
int status)
Change the status of the VDB |
java.util.List |
getAvailableVDBs()
Get the list of VDBs available from the service |
java.util.List |
getConnectorBindingNames(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Get connector bindings for a particular vdb model. |
java.lang.String |
getConnectorName(java.lang.String connectorBindingID)
|
int |
getFileVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String pathInVDB)
Get visibility of the file at the given path in the vdb. |
int |
getModelVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Get model visibility |
java.util.List |
getMultiSourceModels(java.lang.String vdbName,
java.lang.String vdbVersion)
Get all multi-source model names (models that can be bound to multiple connector bindings) for this VDB name and version. |
java.io.InputStream |
getVDBResource(java.lang.String vdbName,
java.lang.String vdbVersion)
Get VDB resource contents |
int |
getVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion)
Get the Status of VDB |
void |
initialize(java.util.Properties props)
Initialize the service with the specified properties. |
boolean |
isActiveVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
|
void |
processEvent(RuntimeMetadataEvent event)
|
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 |
|---|
public PlatformVDBService()
| Method Detail |
|---|
public boolean isActiveVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
throws MetaMatrixComponentException
MetaMatrixComponentException
public java.util.List getConnectorBindingNames(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws MetaMatrixComponentException
VDBServiceVDBConfiguration#getMultiSourceModels(String, String)
method can be used to determine which models are multi-source models.
getConnectorBindingNames in interface VDBServicevdbName - VDB namevdbVersion - VDB versionmodelName - Model name
String names of connectors
MetaMatrixComponentException
public int getModelVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws MetaMatrixComponentException
VDBService
getModelVisibility in interface VDBServicevdbName - VDB namevdbVersion - VDB versionmodelName - The name of the model
MetaMatrixComponentException
public int getFileVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String pathInVDB)
throws MetaMatrixComponentException
VDBService
getFileVisibility in interface VDBServicevdbName - VDB namevdbVersion - VDB versionpathInVDB - The path to the model in the VDB
MetaMatrixComponentExceptioncom.metamatrix.dqp.service.VDBConfiguration#getFileVisibility(java.lang.String, java.lang.String, java.lang.String)
public void initialize(java.util.Properties props)
throws ApplicationInitializationException
ApplicationService
initialize in interface ApplicationServiceprops - Initialialization properties
ApplicationInitializationException - If an error occurs during initialization
public void start(ApplicationEnvironment environment)
throws ApplicationLifecycleException
ApplicationService
start in interface ApplicationServiceenvironment - Environment
ApplicationLifecycleException - If an error occurs while starting
public void stop()
throws ApplicationLifecycleException
ApplicationService
stop in interface ApplicationServiceApplicationLifecycleException - If an error occurs while starting
public java.lang.String getConnectorName(java.lang.String connectorBindingID)
throws MetaMatrixComponentException
getConnectorName in interface VDBServiceMetaMatrixComponentExceptionpublic void processEvent(RuntimeMetadataEvent event)
processEvent in interface RuntimeMetadataListenerRuntimeMetadataListener.processEvent(com.metamatrix.metadata.runtime.event.RuntimeMetadataEvent)
public java.util.List getMultiSourceModels(java.lang.String vdbName,
java.lang.String vdbVersion)
throws MetaMatrixComponentException
VDBService
getMultiSourceModels in interface VDBServicevdbName - VDB namevdbVersion - VDB version
MetaMatrixComponentExceptioncom.metamatrix.dqp.service.VDBConfiguration#getMultiSourceModels(java.lang.String, java.lang.String)
public java.io.InputStream getVDBResource(java.lang.String vdbName,
java.lang.String vdbVersion)
throws MetaMatrixComponentException
VDBService
getVDBResource in interface VDBServicevdbName - VDB namevdbVersion - VDB version
MetaMatrixComponentExceptionVDBService.getVDBResource(java.lang.String, java.lang.String)
public int getVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion)
throws MetaMatrixComponentException
VDBService
getVDBStatus in interface VDBServicevdbName - - Name of the VDBvdbVersion - - Version of the VDB
MetaMatrixComponentExceptionVDBService.getVDBStatus(java.lang.String, java.lang.String)
public void changeVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion,
int status)
throws ApplicationLifecycleException,
MetaMatrixComponentException
VDBService
changeVDBStatus in interface VDBServicevdbName - - Name of the VDBvdbVersion - - Version of the VDBstatus - -
ApplicationLifecycleException
MetaMatrixComponentExceptionVDBService.changeVDBStatus(java.lang.String, java.lang.String, int)
public java.util.List getAvailableVDBs()
throws MetaMatrixComponentException
VDBService
getAvailableVDBs in interface VDBServicecom.metamatrix.metadata.runtime.admin.vdb.VDBDefn
MetaMatrixComponentExceptionVDBService.getAvailableVDBs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||