public interface Admin
| Modifier and Type | Interface and Description |
|---|---|
static class |
Admin.Cache |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Assign a Role name to the Data Role in a given VDB
|
void |
assignToModel(String vdbName,
int vdbVersion,
String modelName,
String sourceName,
String translatorName,
String dsName)
Assign 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)
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)
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
|
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 Request> |
getRequests()
Get the all Requests that are currently in process
|
Collection<? extends Request> |
getRequestsForSession(String sessionId)
Get the Requests for the given session
|
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 Translator> |
getTranslators()
Get the translators that are available in the configuration
|
VDB |
getVDB(String vdbName,
int 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 |
mergeVDBs(String sourceVDBName,
int sourceVDBVersion,
String targetVDBName,
int targetVDBVersion)
Merge the Source VDB into Target VDB.
|
void |
removeDataRoleMapping(String vdbName,
int vdbVersion,
String dataRole,
String mappedRoleName)
Remove a Role name to the Data Role in a given VDB
|
void |
setAnyAuthenticatedForDataRole(String vdbName,
int 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 assignToModel(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 Model to map Connection FactorysourceName - sourceName for the modeltranslatorName - dsName - data source name that can found in the JNDI map.AdminExceptionvoid changeVDBConnectionType(String vdbName, int vdbVersion, VDB.ConnectionType type) throws AdminException
VDB.ConnectionType of the VDB.vdbName - Name of the VDBvdbVersion - Version of the VDBtype - AdminExceptionvoid deploy(String deployName, InputStream content) throws AdminException
deployName - Name of the VDB file to save undercontent - AdminExceptionvoid undeploy(String deployedName) throws AdminException
deployedName - AdminExceptionCollection<? extends VDB> getVDBs() throws AdminException
VDBs. There could be multiple VDBs with the
same name in the Collection but they will differ by VDB version.AdminExceptionVDB getVDB(String vdbName, int vdbVersion) throws AdminException
vdbName - vbdVersion - AdminExceptionCollection<? extends Translator> getTranslators() throws AdminException
TranslatorAdminExceptionTranslator getTranslator(String deployedName) throws AdminException
deployedName - - name of the deployed translatorAdminExceptionCollection<? extends WorkerPoolStatistics> getWorkerPoolStats() throws AdminException
WorkerPoolStatisticsAdminExceptionCollection<String> getCacheTypes() throws AdminException
StringAdminExceptionCollection<? extends Session> getSessions() throws AdminException
SessionAdminExceptionCollection<? extends Request> getRequests() throws AdminException
RequestAdminExceptionCollection<? extends Request> getRequestsForSession(String sessionId) throws AdminException
RequestAdminExceptionCollection<? extends PropertyDefinition> getTemplatePropertyDefinitions(String templateName) throws AdminException
templateName - - Name of the connectorAdminExceptionCollection<? extends Transaction> getTransactions() throws AdminException
AdminExceptionvoid clearCache(String cacheType) throws AdminException
cacheType - Cache Type
No wild cards currently supported, must be explicitAdminExceptionvoid 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 versionAdminExceptionCollection<? extends CacheStatistics> getCacheStats(String cacheType) throws AdminException
cacheType - Cache TypeCacheStatisticsAdminExceptionvoid terminateSession(String sessionId) throws AdminException
identifier - Session Identifier Session.
No wild cards currently supported, must be explicitAdminExceptionvoid cancelRequest(String sessionId, long executionId) throws AdminException
sessionId - session Identifier for the request.executionId - request IdentifierAdminExceptionvoid terminateTransaction(String transactionId) throws AdminException
transactionId - AdminExceptionvoid close()
void addDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName - vdbVersion - dataRole - mappedRoleName - AdminExceptionvoid removeDataRoleMapping(String vdbName, int vdbVersion, String dataRole, String mappedRoleName) throws AdminException
vdbName - vdbVersion - dataRole - mappedRoleName - AdminExceptionvoid setAnyAuthenticatedForDataRole(String vdbName, int vdbVersion, String dataRole, boolean anyAuthenticated) throws AdminException
vdbName - vdbVersion - dataRole - anyAuthenticated - AdminExceptionvoid mergeVDBs(String sourceVDBName, int sourceVDBVersion, String targetVDBName, int targetVDBVersion) throws AdminException
sourceVDBName - sourceVDBVersion - targetVDBName - targetVDBVersion - AdminExceptionvoid createDataSource(String deploymentName, String templateName, Properties properties) throws AdminException
deploymentName - - name of the sourcetemplateName - - template of data sourceproperties - - propertiesAdminExceptionvoid deleteDataSource(String deployedName) throws AdminException
deployedName - AdminExceptionCollection<String> getDataSourceNames() throws AdminException
AdminExceptionSet<String> getDataSourceTemplateNames() throws AdminException
AdminExceptionvoid markDataSourceAvailable(String jndiName) throws AdminException
jndiName - AdminExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.