com.metamatrix.metadata.runtime.vdb.defn
Class VDBCreation
java.lang.Object
com.metamatrix.metadata.runtime.vdb.defn.VDBCreation
public class VDBCreation
- extends java.lang.Object
The VDBCreation is used to install a VDB and its models
into the runtimemetadata and add Connector Types and Connector Bindings to
the configuration so that the VDB can be immediately available for access (user
needs to start the connector bindings on the console);
The process uses an xml file that defines the VDB, the models,
Connectors and Connector bindings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VDBCreation
public VDBCreation()
setUpdateBindingProperties
public void setUpdateBindingProperties(boolean updateProperties)
setVMsToDeployBindings
public void setVMsToDeployBindings(java.util.List vms)
loadVDBDefn
public VirtualDatabase loadVDBDefn(VDBArchive vdbArchive,
java.lang.String principal)
throws java.lang.Exception
- Throws:
java.lang.Exception
setVDBInfo
protected void setVDBInfo(VDBDefn vdbDefn,
java.lang.String vdbName)
addConfigurationObjects
protected ConnectorBinding addConfigurationObjects(ConfigurationModelContainer cmc,
ConnectorBinding binding,
ComponentType type,
XMLConfigurationConnector writer,
BasicConfigurationObjectEditor editor,
java.util.Set addedTypes)
throws java.lang.Exception
- Return the existing binding that will be used to replace the imported binding and
the model-to-binding mapping will have its routinguuid updated
- Parameters:
cmc
- binding
- type
- createdPSC
-
- Returns:
-
- Throws:
java.lang.Exception
- Since:
- 4.2
getVisibility
protected java.lang.Short getVisibility(java.lang.String visibility)
Copyright © 2009. All Rights Reserved.