| Package | Description |
|---|---|
| org.teiid.adminapi | |
| org.teiid.adminapi.jboss | |
| org.teiid.adminshell |
| Modifier and Type | Class and Description |
|---|---|
class |
AdminComponentException
An
AdminComponentException is thrown when an error occurs as a
result of an internal component error. |
class |
AdminProcessingException
An
AdminProcessingException indicates that an error occured during processing as a result
of user input. |
| Modifier and Type | Method and Description |
|---|---|
List<AdminException> |
AdminException.getChildren()
Returns a non-null list of failures (
AdminExceptions), one for each
component that failed. |
| Modifier and Type | Method and Description |
|---|---|
void |
AdminException.addChild(AdminException child)
Add a child
AdminException for a particular failure
if and action resulted in multiple failures. |
| Modifier and Type | Method and Description |
|---|---|
void |
Admin.addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
Admin.addDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Assign a Role name to the Data Role in a given VDB
|
void |
Admin.addSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
Admin.addSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Adds a
Translator and Data source to a VDB's Model |
void |
Admin.cancelRequest(String sessionId,
long executionId)
Cancel Request
|
void |
Admin.changeVDBConnectionType(String vdbName,
int vdbVersion,
VDB.ConnectionType type)
Deprecated.
|
void |
Admin.changeVDBConnectionType(String vdbName,
String vdbVersion,
VDB.ConnectionType type)
Change the
VDB.ConnectionType of the VDB. |
void |
Admin.clearCache(String cacheType)
Clear the cache or caches specified by the cacheIdentifier.
|
void |
Admin.clearCache(String cacheType,
String vdbName,
int vdbVersion)
Deprecated.
|
void |
Admin.clearCache(String cacheType,
String vdbName,
String vdbVersion)
Clear the cache of the given VDB for provided cache type
|
void |
Admin.createDataSource(String deploymentName,
String templateName,
Properties properties)
Creates a JCA data source
|
void |
Admin.deleteDataSource(String deployedName)
Delete data source.
|
void |
Admin.deploy(String deployName,
InputStream content)
Deploy a artifact (VDB, JAR, RAR files)
|
void |
Admin.deploy(String deployName,
InputStream content,
boolean persistent)
Deploy a artifact (VDB, JAR, RAR files)
|
Collection<? extends CacheStatistics> |
Admin.getCacheStats(String cacheType)
Get the Cache Statistics for the given type
|
Collection<String> |
Admin.getCacheTypes()
Get the Caches that correspond to the specified identifier pattern
|
Properties |
Admin.getDataSource(String deployedName)
Given the deployed name of the data source, this will return all the configuration properties
used to create the datasource.
|
Collection<String> |
Admin.getDataSourceNames()
Returns the all names of all the data sources available in the configuration.
|
Set<String> |
Admin.getDataSourceTemplateNames()
Get the Datasource templates available in the configuration.
|
List<String> |
Admin.getDeployments()
Get existing deployments on in the sysem
|
Collection<? extends EngineStatistics> |
Admin.getEngineStats()
Get the Engine Statistics for the given type
|
String |
Admin.getQueryPlan(String sessionId,
long executionId)
Get the Query Plan for the given session with provided execution id.
|
Collection<? extends Request> |
Admin.getRequests()
Get the all Requests that are currently in process
|
Collection<? extends Request> |
Admin.getRequestsForSession(String sessionId)
Get the Requests for the given session
|
String |
Admin.getSchema(String vdbName,
int vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Deprecated.
|
String |
Admin.getSchema(String vdbName,
String vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Retrieve the schema of the given model
|
Collection<? extends Session> |
Admin.getSessions()
Get all the current Sessions.
|
Collection<? extends PropertyDefinition> |
Admin.getTemplatePropertyDefinitions(String templateName)
Get all of the available configuration Properties for the specified connector
|
Collection<? extends Transaction> |
Admin.getTransactions()
Get all transaction matching the identifier.
|
Translator |
Admin.getTranslator(String deployedName)
Get the translator by the given the deployed name.
|
Collection<? extends PropertyDefinition> |
Admin.getTranslatorPropertyDefinitions(String translatorName)
Deprecated.
|
Collection<? extends PropertyDefinition> |
Admin.getTranslatorPropertyDefinitions(String translatorName,
Admin.TranlatorPropertyType type)
Get all of the available configuration Properties for the specified translator
|
Collection<? extends Translator> |
Admin.getTranslators()
Get the translators that are available in the configuration
|
VDB |
Admin.getVDB(String vdbName,
int vdbVersion)
Deprecated.
|
VDB |
Admin.getVDB(String vdbName,
String vdbVersion)
Get the VDB
|
Collection<? extends VDB> |
Admin.getVDBs()
Get the VDBs that currently deployed in the system
|
Collection<? extends WorkerPoolStatistics> |
Admin.getWorkerPoolStats()
Get the Worker Pool statistics in runtime engine.
|
void |
Admin.markDataSourceAvailable(String jndiName)
Tell the engine that the given source is available.
|
void |
Admin.removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
Admin.removeDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Remove a Role name to the Data Role in a given VDB
|
void |
Admin.removeSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName)
Deprecated.
|
void |
Admin.removeSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName)
Removes a
Translator and Data source from a VDB's Model |
void |
Admin.restartVDB(String vdbName,
int vdbVersion,
String... models)
Deprecated.
|
void |
Admin.restartVDB(String vdbName,
String vdbVersion,
String... models)
Restart the VDB.
|
void |
Admin.setAnyAuthenticatedForDataRole(String vdbName,
int vdbVersion,
String dataRole,
boolean anyAuthenticated)
Deprecated.
|
void |
Admin.setAnyAuthenticatedForDataRole(String vdbName,
String vdbVersion,
String dataRole,
boolean anyAuthenticated)
Set the any authenticated flag on the Data Role in a given VDB
|
void |
Admin.terminateSession(String sessionId)
Terminate the Session
|
void |
Admin.terminateTransaction(String transactionId)
Mark the given global transaction as rollback only.
|
void |
Admin.undeploy(String deployedName)
Undeploy artifact (VDB, JAR, RAR files)
|
void |
Admin.updateSource(String vdbName,
int vdbVersion,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
Admin.updateSource(String vdbName,
String vdbVersion,
String sourceName,
String translatorName,
String dsName)
Update a source's
Translator and Data source |
| Modifier and Type | Method and Description |
|---|---|
void |
AdminFactory.AdminImpl.addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName) |
void |
AdminFactory.AdminImpl.addDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName) |
void |
AdminFactory.AdminImpl.addSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName) |
void |
AdminFactory.AdminImpl.addSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName) |
void |
AdminFactory.AdminImpl.cancelRequest(String sessionId,
long executionId) |
void |
AdminFactory.AdminImpl.changeVDBConnectionType(String vdbName,
int vdbVersion,
VDB.ConnectionType type) |
void |
AdminFactory.AdminImpl.changeVDBConnectionType(String vdbName,
String vdbVersion,
VDB.ConnectionType type) |
void |
AdminFactory.AdminImpl.clearCache(String cacheType) |
void |
AdminFactory.AdminImpl.clearCache(String cacheType,
String vdbName,
int vdbVersion) |
void |
AdminFactory.AdminImpl.clearCache(String cacheType,
String vdbName,
String vdbVersion) |
Admin |
AdminFactory.createAdmin(String host,
int port,
String userName,
char[] password)
Creates a ServerAdmin with the specified connection properties.
|
Admin |
AdminFactory.createAdmin(String host,
int port,
String userName,
char[] password,
String profileName)
Creates a ServerAdmin with the specified connection properties.
|
void |
AdminFactory.AdminImpl.createDataSource(String deploymentName,
String templateName,
Properties properties)
Use this method to create JDBC driver based connection, XA-datasource or Resource Adapter.
|
void |
AdminFactory.AdminImpl.deleteDataSource(String deployedName) |
void |
AdminFactory.AdminImpl.deploy(String deployName,
InputStream vdb) |
void |
AdminFactory.AdminImpl.deploy(String deployName,
InputStream vdb,
boolean persist) |
Collection<? extends CacheStatistics> |
AdminFactory.AdminImpl.getCacheStats(String cacheType) |
Collection<String> |
AdminFactory.AdminImpl.getCacheTypes() |
Properties |
AdminFactory.AdminImpl.getDataSource(String deployedName) |
Collection<String> |
AdminFactory.AdminImpl.getDataSourceNames()
/subsystem=datasources:read-children-names(child-type=data-source)
/subsystem=resource-adapters/resource-adapter={rar-file}:read-resource
|
Set<String> |
AdminFactory.AdminImpl.getDataSourceTemplateNames() |
Collection<? extends EngineStatistics> |
AdminFactory.AdminImpl.getEngineStats() |
Set<String> |
AdminFactory.AdminImpl.getInstalledJDBCDrivers() |
String |
AdminFactory.AdminImpl.getQueryPlan(String sessionId,
long executionId) |
Collection<? extends Request> |
AdminFactory.AdminImpl.getRequests() |
Collection<? extends Request> |
AdminFactory.AdminImpl.getRequestsForSession(String sessionId) |
String |
AdminFactory.AdminImpl.getSchema(String vdbName,
int vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern) |
String |
AdminFactory.AdminImpl.getSchema(String vdbName,
String vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern) |
Collection<? extends Session> |
AdminFactory.AdminImpl.getSessions() |
Collection<PropertyDefinition> |
AdminFactory.AdminImpl.getTemplatePropertyDefinitions(String templateName)
pattern on CLI
/subsystem=datasources/data-source=foo:read-resource-description
|
Collection<? extends Transaction> |
AdminFactory.AdminImpl.getTransactions() |
Translator |
AdminFactory.AdminImpl.getTranslator(String deployedName) |
Collection<? extends PropertyDefinition> |
AdminFactory.AdminImpl.getTranslatorPropertyDefinitions(String translatorName)
Deprecated.
|
Collection<? extends PropertyDefinition> |
AdminFactory.AdminImpl.getTranslatorPropertyDefinitions(String translatorName,
Admin.TranlatorPropertyType type) |
Collection<? extends Translator> |
AdminFactory.AdminImpl.getTranslators() |
VDB |
AdminFactory.AdminImpl.getVDB(String vdbName,
int vdbVersion) |
VDB |
AdminFactory.AdminImpl.getVDB(String vdbName,
String vdbVersion) |
List<? extends VDB> |
AdminFactory.AdminImpl.getVDBs() |
Collection<? extends WorkerPoolStatistics> |
AdminFactory.AdminImpl.getWorkerPoolStats() |
void |
AdminFactory.AdminImpl.markDataSourceAvailable(String jndiName) |
void |
AdminFactory.AdminImpl.removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName) |
void |
AdminFactory.AdminImpl.removeDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName) |
void |
AdminFactory.AdminImpl.removeSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName) |
void |
AdminFactory.AdminImpl.removeSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName) |
void |
AdminFactory.AdminImpl.restartVDB(String vdbName,
int vdbVersion,
String... models) |
void |
AdminFactory.AdminImpl.restartVDB(String vdbName,
String vdbVersion,
String... models) |
void |
AdminFactory.AdminImpl.setAnyAuthenticatedForDataRole(String vdbName,
int vdbVersion,
String dataRole,
boolean anyAuthenticated) |
void |
AdminFactory.AdminImpl.setAnyAuthenticatedForDataRole(String vdbName,
String vdbVersion,
String dataRole,
boolean anyAuthenticated) |
void |
AdminFactory.AdminImpl.terminateSession(String sessionId) |
void |
AdminFactory.AdminImpl.terminateTransaction(String transactionId) |
void |
AdminFactory.AdminImpl.undeploy(String deployedName) |
void |
AdminFactory.AdminImpl.undeploy(String deployedName,
boolean force) |
void |
AdminFactory.AdminImpl.updateSource(String vdbName,
int vdbVersion,
String sourceName,
String translatorName,
String dsName) |
void |
AdminFactory.AdminImpl.updateSource(String vdbName,
String vdbVersion,
String sourceName,
String translatorName,
String dsName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AdminShell.addDataRoleMapping(String vdbName,
Object vdbVersion,
String policyName,
String role) |
static void |
AdminShell.addSource(String vdbName,
Object vdbVersion,
String modelName,
String sourceName,
String translatorName,
String jndiName) |
static void |
AdminShell.cancelRequest(String sessionId,
long executionId) |
static void |
AdminShell.changeVDBConnectionType(String vdbName,
Object vdbVersion,
String type) |
static void |
AdminShell.clearCache(String cacheType) |
static void |
AdminShell.clearCache(String cacheType,
String vdbName,
Object vdbVersion) |
static void |
AdminShell.connectAsAdmin() |
static void |
AdminShell.connectAsAdmin(String host,
int port,
String username,
String password,
String connectionName) |
static void |
AdminShell.createDataSource(String deploymentName,
String templateName,
Properties properties) |
static void |
AdminShell.deleteDataSource(String deployedName) |
static void |
AdminShell.deploy(String vdbFile) |
static Collection<? extends CacheStatistics> |
AdminShell.getCacheStats(String identifier) |
static Collection<String> |
AdminShell.getCacheTypes() |
static Properties |
AdminShell.getDataSource(String deployedName) |
static Collection<String> |
AdminShell.getDataSourceNames() |
static Set<String> |
AdminShell.getDataSourceTemplateNames() |
static Collection<? extends EngineStatistics> |
AdminShell.getEngineStats() |
static String |
AdminShell.getQueryPlan(String sessionId,
int executionId) |
static Collection<? extends Request> |
AdminShell.getRequests() |
static Collection<? extends Request> |
AdminShell.getRequestsForSession(String sessionId) |
static String |
AdminShell.getSchema(String vdbName,
Object vdbVersion,
String modelName) |
static Collection<? extends Session> |
AdminShell.getSessions() |
static Collection<? extends PropertyDefinition> |
AdminShell.getTemplatePropertyDefinitions(String templateName) |
static Collection<? extends Transaction> |
AdminShell.getTransactions() |
static Translator |
AdminShell.getTranslator(String deployedName) |
static Collection<? extends PropertyDefinition> |
AdminShell.getTranslatorPropertyDefinitions(String translatorName) |
static Collection<? extends PropertyDefinition> |
AdminShell.getTranslatorPropertyDefinitions(String translatorName,
String type) |
static Collection<? extends Translator> |
AdminShell.getTranslators() |
static VDB |
AdminShell.getVDB(String vdbName,
Object vdbVersion) |
static Collection<? extends VDB> |
AdminShell.getVDBs() |
static Collection<? extends WorkerPoolStatistics> |
AdminShell.getWorkerPoolStats() |
static boolean |
AdminShell.hasTranslator(String factoryName) |
static boolean |
AdminShell.hasVDB(String vdbName) |
static boolean |
AdminShell.hasVDB(String vdbName,
Object vdbVersion) |
static void |
AdminShell.removeDataRoleMapping(String vdbName,
Object vdbVersion,
String policyName,
String role) |
static void |
AdminShell.removeSource(String vdbName,
Object vdbVersion,
String modelName,
String sourceName) |
static void |
AdminShell.restartVDB(String vdbName,
Object vdbVersion,
String... models) |
static void |
AdminShell.setAnyAuthenticatedForDataRole(String vdbName,
Object vdbVersion,
String dataRole,
boolean anyAuthenticated) |
static void |
AdminShell.terminateSession(String sessionId) |
static void |
AdminShell.terminateTransaction(String transactionId) |
static void |
AdminShell.undeploy(String deployedName) |
static void |
AdminShell.updateSource(String vdbName,
Object vdbVersion,
String sourceName,
String translatorName,
String jndiName) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.