public interface Admin
Modifier and Type | Interface and Description |
---|---|
static class |
Admin.Cache |
static class |
Admin.SchemaObjectType |
static class |
Admin.TranlatorPropertyType |
Modifier and Type | Method and Description |
---|---|
void |
addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
addDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Assign a Role name to the Data Role in a given VDB
|
void |
addSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
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 |
cancelRequest(String sessionId,
long executionId)
Cancel Request
|
void |
changeVDBConnectionType(String vdbName,
int vdbVersion,
VDB.ConnectionType type)
Deprecated.
|
void |
changeVDBConnectionType(String vdbName,
String vdbVersion,
VDB.ConnectionType type)
Change the
VDB.ConnectionType of the VDB . |
void |
clearCache(String cacheType)
Clear the cache or caches specified by the cacheIdentifier.
|
void |
clearCache(String cacheType,
String vdbName,
int vdbVersion)
Deprecated.
|
void |
clearCache(String cacheType,
String vdbName,
String vdbVersion)
Clear the cache of the given VDB for provided cache type
|
void |
close()
Closes the admin connection
|
void |
createDataSource(String deploymentName,
String templateName,
Properties properties)
Creates a JCA data source
|
void |
deleteDataSource(String deployedName)
Delete data source.
|
void |
deploy(String deployName,
InputStream content)
Deploy a artifact (VDB, JAR, RAR files)
|
Collection<? extends CacheStatistics> |
getCacheStats(String cacheType)
Get the Cache Statistics for the given type
|
Collection<String> |
getCacheTypes()
Get the Caches that correspond to the specified identifier pattern
|
Properties |
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> |
getDataSourceNames()
Returns the all names of all the data sources available in the configuration.
|
Set<String> |
getDataSourceTemplateNames()
Get the Datasource templates available in the configuration.
|
Collection<? extends EngineStatistics> |
getEngineStats()
Get the Engine Statistics for the given type
|
String |
getQueryPlan(String sessionId,
int executionId)
Get the Query Plan for the given session with provided execution id.
|
Collection<? extends Request> |
getRequests()
Get the all Requests that are currently in process
|
Collection<? extends Request> |
getRequestsForSession(String sessionId)
Get the Requests for the given session
|
String |
getSchema(String vdbName,
int vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Deprecated.
|
String |
getSchema(String vdbName,
String vdbVersion,
String modelName,
EnumSet<Admin.SchemaObjectType> allowedTypes,
String typeNamePattern)
Retrieve the schema of the given model
|
Collection<? extends Session> |
getSessions()
Get all the current Sessions.
|
Collection<? extends PropertyDefinition> |
getTemplatePropertyDefinitions(String templateName)
Get all of the available configuration Properties for the specified connector
|
Collection<? extends Transaction> |
getTransactions()
Get all transaction matching the identifier.
|
Translator |
getTranslator(String deployedName)
Get the translator by the given the deployed name.
|
Collection<? extends PropertyDefinition> |
getTranslatorPropertyDefinitions(String translatorName)
Deprecated.
|
Collection<? extends PropertyDefinition> |
getTranslatorPropertyDefinitions(String translatorName,
Admin.TranlatorPropertyType type)
Get all of the available configuration Properties for the specified translator
|
Collection<? extends Translator> |
getTranslators()
Get the translators that are available in the configuration
|
VDB |
getVDB(String vdbName,
int vdbVersion)
Deprecated.
|
VDB |
getVDB(String vdbName,
String vdbVersion)
Get the VDB
|
Collection<? extends VDB> |
getVDBs()
Get the VDBs that currently deployed in the system
|
Collection<? extends WorkerPoolStatistics> |
getWorkerPoolStats()
Get the Worker Pool statistics in runtime engine.
|
void |
markDataSourceAvailable(String jndiName)
Tell the engine that the given source is available.
|
void |
removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Deprecated.
|
void |
removeDataRoleMapping(String vdbName,
String vdbVersion,
String dataRole,
String mappedRoleName)
Remove a Role name to the Data Role in a given VDB
|
void |
removeSource(String vdbName,
int vdbVersion,
String modelName,
String sourceName)
Deprecated.
|
void |
removeSource(String vdbName,
String vdbVersion,
String modelName,
String sourceName)
Removes a
Translator and Data source from a VDB 's Model |
void |
restart()
Restart the Server
|
void |
restartVDB(String vdbName,
int vdbVersion,
String... models)
Deprecated.
|
void |
restartVDB(String vdbName,
String vdbVersion,
String... models)
Restart the VDB.
|
void |
setAnyAuthenticatedForDataRole(String vdbName,
int vdbVersion,
String dataRole,
boolean anyAuthenticated)
Deprecated.
|
void |
setAnyAuthenticatedForDataRole(String vdbName,
String vdbVersion,
String dataRole,
boolean anyAuthenticated)
Set the any authenticated flag on the Data Role in a given VDB
|
void |
terminateSession(String sessionId)
Terminate the Session
|
void |
terminateTransaction(String transactionId)
Mark the given global transaction as rollback only.
|
void |
undeploy(String deployedName)
Undeploy artifact (VDB, JAR, RAR files)
|
void |
updateSource(String vdbName,
int vdbVersion,
String sourceName,
String translatorName,
String dsName)
Deprecated.
|
void |
updateSource(String vdbName,
String vdbVersion,
String sourceName,
String translatorName,
String dsName)
Update a source's
Translator and Data source |
@Deprecated void removeSource(String vdbName, int vdbVersion, String modelName, String sourceName) throws AdminException
Translator
and Data source from a VDB
's ModelvdbName
- Name of the VDBvdbVersion
- Version of the VDBmodelName
- Name of the ModelsourceName
- source nameAdminException
void removeSource(String vdbName, String vdbVersion, String modelName, String sourceName) throws AdminException
Translator
and Data source from a VDB
's ModelvdbName
- Name of the VDBvdbVersion
- Version of the VDBmodelName
- Name of the ModelsourceName
- source nameAdminException
@Deprecated void addSource(String vdbName, int vdbVersion, String modelName, String sourceName, String translatorName, String dsName) throws AdminException
Translator
and Data source to a VDB
's ModelvdbName
- Name of the VDBvdbVersion
- Version of the VDBmodelName
- Name of the ModelsourceName
- source nametranslatorName
- dsName
- data source name that can found in the JNDI map.AdminException
void addSource(String vdbName, String vdbVersion, String modelName, String sourceName, String translatorName, String dsName) throws AdminException
Translator
and Data source to a VDB
's ModelvdbName
- Name of the VDBvdbVersion
- Version of the VDBmodelName
- Name of the ModelsourceName
- source nametranslatorName
- dsName
- data source name that can found in the JNDI map.AdminException
@Deprecated void updateSource(String vdbName, int vdbVersion, String sourceName, String translatorName, String dsName) throws AdminException
Translator
and Data sourcevdbName
- Name of the VDBvdbVersion
- Version of the VDBsourceName
- source nametranslatorName
- dsName
- data source name that can found in the JNDI map.AdminException
void updateSource(String vdbName, String vdbVersion, String sourceName, String translatorName, String dsName) throws AdminException
Translator
and Data sourcevdbName
- Name of the VDBvdbVersion
- Version of the VDBsourceName
- source nametranslatorName
- dsName
- data source name that can found in the JNDI map.AdminException
@Deprecated void changeVDBConnectionType(String vdbName, int vdbVersion, VDB.ConnectionType type) throws AdminException
VDB.ConnectionType
of the VDB
.vdbName
- Name of the VDBvdbVersion
- Version of the VDBtype
- AdminException
void changeVDBConnectionType(String vdbName, String vdbVersion, VDB.ConnectionType type) throws AdminException
VDB.ConnectionType
of the VDB
.vdbName
- Name of the VDBvdbVersion
- Version of the VDBtype
- AdminException
void deploy(String deployName, InputStream content) throws AdminException
deployName
- Name of the VDB file to save undercontent
- AdminException
void undeploy(String deployedName) throws AdminException
deployedName
- AdminException
Collection<? extends VDB> getVDBs() throws AdminException
VDB
s. There could be multiple VDBs with the
same name in the Collection but they will differ by VDB version.AdminException
@Deprecated VDB getVDB(String vdbName, int vdbVersion) throws AdminException
vdbName
- vbdVersion
- AdminException
VDB getVDB(String vdbName, String vdbVersion) throws AdminException
vdbName
- vbdVersion
- AdminException
@Deprecated void restartVDB(String vdbName, int vdbVersion, String... models) throws AdminException
vdbName
- vbdVersion
- models
- names for which metadata needs to be reloaded, if null or not supplied all models reloadedAdminException
void restartVDB(String vdbName, String vdbVersion, String... models) throws AdminException
vdbName
- vbdVersion
- models
- names for which metadata needs to be reloaded, if null or not supplied all models reloadedAdminException
Collection<? extends Translator> getTranslators() throws AdminException
Translator
AdminException
Translator getTranslator(String deployedName) throws AdminException
deployedName
- - name of the deployed translatorAdminException
Collection<? extends WorkerPoolStatistics> getWorkerPoolStats() throws AdminException
WorkerPoolStatistics
AdminException
Collection<String> getCacheTypes() throws AdminException
String
AdminException
Collection<? extends Session> getSessions() throws AdminException
Session
AdminException
Collection<? extends Request> getRequests() throws AdminException
Request
AdminException
Collection<? extends Request> getRequestsForSession(String sessionId) throws AdminException
Request
AdminException
Collection<? extends PropertyDefinition> getTemplatePropertyDefinitions(String templateName) throws AdminException
templateName
- - Name of the connectorAdminException
@Deprecated Collection<? extends PropertyDefinition> getTranslatorPropertyDefinitions(String translatorName) throws AdminException
translatorName
- - Name of the translatorAdminException
getTranslatorPropertyDefinitions
Collection<? extends PropertyDefinition> getTranslatorPropertyDefinitions(String translatorName, Admin.TranlatorPropertyType type) throws AdminException
translatorName
- - Name of the translatortype
- - Type of property definition (import, override, extension-metadata)AdminException
Collection<? extends Transaction> getTransactions() throws AdminException
AdminException
void clearCache(String cacheType) throws AdminException
cacheType
- Cache Type
No wild cards currently supported, must be explicitAdminException
@Deprecated void clearCache(String cacheType, String vdbName, int vdbVersion) throws AdminException
cacheType
- Cache Type
No wild cards currently supported, must be explicitvdbName
- - Name of the VDBvdbVersion
- - VDB versionAdminException
void clearCache(String cacheType, String vdbName, String vdbVersion) throws AdminException
cacheType
- Cache Type
No wild cards currently supported, must be explicitvdbName
- - Name of the VDBvdbVersion
- - VDB versionAdminException
Collection<? extends CacheStatistics> getCacheStats(String cacheType) throws AdminException
cacheType
- Cache TypeCacheStatistics
AdminException
Collection<? extends EngineStatistics> getEngineStats() throws AdminException
EngineStatistics
AdminException
void terminateSession(String sessionId) throws AdminException
identifier
- Session Identifier Session
.
No wild cards currently supported, must be explicitAdminException
void cancelRequest(String sessionId, long executionId) throws AdminException
sessionId
- session Identifier for the request.executionId
- request IdentifierAdminException
void terminateTransaction(String transactionId) throws AdminException
transactionId
- AdminException
void close()
@Deprecated void addDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName
- vdbVersion
- dataRole
- mappedRoleName
- AdminException
void addDataRoleMapping(String vdbName, String vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName
- vdbVersion
- dataRole
- mappedRoleName
- AdminException
@Deprecated void removeDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName
- vdbVersion
- dataRole
- mappedRoleName
- AdminException
void removeDataRoleMapping(String vdbName, String vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName
- vdbVersion
- dataRole
- mappedRoleName
- AdminException
@Deprecated void setAnyAuthenticatedForDataRole(String vdbName, int vdbVersion, String dataRole, boolean anyAuthenticated) throws AdminException
vdbName
- vdbVersion
- dataRole
- anyAuthenticated
- AdminException
void setAnyAuthenticatedForDataRole(String vdbName, String vdbVersion, String dataRole, boolean anyAuthenticated) throws AdminException
vdbName
- vdbVersion
- dataRole
- anyAuthenticated
- AdminException
void createDataSource(String deploymentName, String templateName, Properties properties) throws AdminException
deploymentName
- - name of the sourcetemplateName
- - template of data sourceproperties
- - propertiesAdminException
Properties getDataSource(String deployedName) throws AdminException
AdminException
void deleteDataSource(String deployedName) throws AdminException
deployedName
- AdminException
Collection<String> getDataSourceNames() throws AdminException
AdminException
Set<String> getDataSourceTemplateNames() throws AdminException
AdminException
void markDataSourceAvailable(String jndiName) throws AdminException
jndiName
- AdminException
@Deprecated String getSchema(String vdbName, int vdbVersion, String modelName, EnumSet<Admin.SchemaObjectType> allowedTypes, String typeNamePattern) throws AdminException
vdbName
- vdbVersion
- modelName
- EnumSet
- Type of schema objects to retrieve, null means ALL the schema object typestypeNamePattern
- RegEx pattern to filter to names of tables, procedures that are being read. Null means no filter.AdminException
String getSchema(String vdbName, String vdbVersion, String modelName, EnumSet<Admin.SchemaObjectType> allowedTypes, String typeNamePattern) throws AdminException
vdbName
- vdbVersion
- modelName
- EnumSet
- Type of schema objects to retrieve, null means ALL the schema object typestypeNamePattern
- RegEx pattern to filter to names of tables, procedures that are being read. Null means no filter.AdminException
String getQueryPlan(String sessionId, int executionId) throws AdminException
sessionId
- executionId
- AdminException
void restart()
AdminException
Copyright © 2016 JBoss by Red Hat. All rights reserved.