com.metamatrix.metadata.runtime.vdb.defn
Class VDBCreation

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


Constructor Summary
VDBCreation()
           
 
Method Summary
protected  ConnectorBinding addConfigurationObjects(ConfigurationModelContainer cmc, ConnectorBinding binding, ComponentType type, java.util.Map createdPSC, XMLConfigurationConnector writer, BasicConfigurationObjectEditor editor)
          Return the existing binding that will be used to replace the imported binding and the model-to-binding mapping will have its routinguuid updated
protected  java.lang.Short getVisibility(java.lang.String visibility)
           
 VirtualDatabase loadVDBDefn(VDBArchive vdbArchive, java.lang.String principal)
           
protected static void log(java.lang.String msg)
           
 void setUpdateBindingProperties(boolean updateProperties)
           
protected  void setVDBInfo(VDBDefn vdbDefn, java.lang.String vdbName)
           
 void setVMsToDeployBindings(java.util.List vms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VDBCreation

public VDBCreation()
Method Detail

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,
                                                   java.util.Map createdPSC,
                                                   XMLConfigurationConnector writer,
                                                   BasicConfigurationObjectEditor editor)
                                            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)

log

protected static void log(java.lang.String msg)


Copyright © 2009. All Rights Reserved.