Package org.teiid.deployers
Class RuntimeVDB
- java.lang.Object
-
- org.teiid.deployers.RuntimeVDB
-
public abstract class RuntimeVDB extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuntimeVDB.ReplaceResultstatic interfaceRuntimeVDB.VDBModificationListener
-
Constructor Summary
Constructors Constructor Description RuntimeVDB(VDBMetaData vdb, RuntimeVDB.VDBModificationListener listener)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddAnyAuthenticated(String policyName)voidaddDataRole(String policyName, String mappedRole)RuntimeVDB.ReplaceResultaddSource(String modelName, String sourceName, String translatorName, String dsName)voidchangeConnectionType(VDB.ConnectionType type)VDBMetaDatagetVdb()protected abstract VDBStatusCheckergetVDBStatusChecker()booleanisRestartInProgress()voidremoteDataRole(String policyName, String mappedRole)voidremoveAnyAuthenticated(String policyName)RuntimeVDB.ReplaceResultremoveSource(String modelName, String sourceName)voidrestart(List<String> modelNames)RuntimeVDB.ReplaceResultupdateSource(String sourceName, String translatorName, String dsName)
-
-
-
Constructor Detail
-
RuntimeVDB
public RuntimeVDB(VDBMetaData vdb, RuntimeVDB.VDBModificationListener listener)
-
-
Method Detail
-
addDataRole
public void addDataRole(String policyName, String mappedRole) throws AdminProcessingException
- Throws:
AdminProcessingException
-
remoteDataRole
public void remoteDataRole(String policyName, String mappedRole) throws AdminProcessingException
- Throws:
AdminProcessingException
-
addAnyAuthenticated
public void addAnyAuthenticated(String policyName) throws AdminProcessingException
- Throws:
AdminProcessingException
-
removeAnyAuthenticated
public void removeAnyAuthenticated(String policyName) throws AdminProcessingException
- Throws:
AdminProcessingException
-
changeConnectionType
public void changeConnectionType(VDB.ConnectionType type) throws AdminProcessingException
- Throws:
AdminProcessingException
-
updateSource
public RuntimeVDB.ReplaceResult updateSource(String sourceName, String translatorName, String dsName) throws AdminProcessingException
- Throws:
AdminProcessingException
-
addSource
public RuntimeVDB.ReplaceResult addSource(String modelName, String sourceName, String translatorName, String dsName) throws AdminProcessingException
- Throws:
AdminProcessingException
-
removeSource
public RuntimeVDB.ReplaceResult removeSource(String modelName, String sourceName) throws AdminProcessingException
- Throws:
AdminProcessingException
-
restart
public void restart(List<String> modelNames) throws AdminProcessingException
- Throws:
AdminProcessingException
-
isRestartInProgress
public boolean isRestartInProgress()
-
getVdb
public VDBMetaData getVdb()
-
getVDBStatusChecker
protected abstract VDBStatusChecker getVDBStatusChecker()
-
-