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 class
RuntimeVDB.ReplaceResult
static interface
RuntimeVDB.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 void
addAnyAuthenticated(String policyName)
void
addDataRole(String policyName, String mappedRole)
RuntimeVDB.ReplaceResult
addSource(String modelName, String sourceName, String translatorName, String dsName)
void
changeConnectionType(VDB.ConnectionType type)
VDBMetaData
getVdb()
protected abstract VDBStatusChecker
getVDBStatusChecker()
boolean
isRestartInProgress()
void
remoteDataRole(String policyName, String mappedRole)
void
removeAnyAuthenticated(String policyName)
RuntimeVDB.ReplaceResult
removeSource(String modelName, String sourceName)
void
restart(List<String> modelNames)
RuntimeVDB.ReplaceResult
updateSource(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()
-
-