|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Admin
| Nested Class Summary | |
|---|---|
static class |
Admin.Cache
|
| Method Summary | |
|---|---|
void |
addRoleToDataPolicy(java.lang.String vdbName,
int vdbVersion,
java.lang.String policyName,
java.lang.String role)
Assign a Role name to the Data Policy in a given VDB |
void |
assignToModel(java.lang.String vdbName,
int vdbVersion,
java.lang.String modelName,
java.lang.String sourceName,
java.lang.String translatorName,
java.lang.String dsName)
Assign a Translator and Data source to a VDB's Model |
void |
cancelRequest(java.lang.String sessionId,
long requestId)
Cancel Request |
void |
clearCache(java.lang.String cacheType)
Clear the cache or caches specified by the cacheIdentifier. |
void |
close()
Closes the admin connection |
void |
createDataSource(java.lang.String deploymentName,
java.lang.String templateName,
java.util.Properties properties)
Creates a JCA data source |
void |
deleteDataSource(java.lang.String deployedName)
Delete data source. |
void |
deleteVDB(java.lang.String vdbName,
int vdbVersion)
Delete the VDB with the given name and version |
void |
deployVDB(java.lang.String fileName,
java.io.InputStream vdb)
Deploy a VDB file. |
java.util.Collection<java.lang.String> |
getCacheTypes()
Get the Caches that correspond to the specified identifier pattern |
java.util.Collection<java.lang.String> |
getDataSourceNames()
Returns the all names of all the data sources available in the configuration. |
java.util.Set<java.lang.String> |
getDataSourceTemplateNames()
Get the Datasource templates available in the configuration. |
java.util.Collection<ProcessObject> |
getProcesses(java.lang.String processIdentifier)
Get the processes that correspond to the specified identifier pattern. |
java.util.Collection<Request> |
getRequests()
Get the all Requests that are currently in process |
java.util.Collection<Request> |
getRequestsForSession(java.lang.String sessionId)
Get the Requests for the given session |
java.util.Collection<Session> |
getSessions()
Get all the current Sessions. |
java.util.Collection<PropertyDefinition> |
getTemplatePropertyDefinitions(java.lang.String templateName)
Get all of the available configuration Properties for the specified connector |
java.util.Collection<Transaction> |
getTransactions()
Get all transaction matching the identifier. |
Translator |
getTranslator(java.lang.String deployedName)
Get the translator by the given the deployed name. |
java.util.Collection<Translator> |
getTranslators()
Get the translators that are available in the configuration |
VDB |
getVDB(java.lang.String vdbName,
int vbdVersion)
Get the VDB |
java.util.Set<VDB> |
getVDBs()
Get the VDBs that currently deployed in the system |
WorkerPoolStatistics |
getWorkManagerStats(java.lang.String identifier)
Get the Work Manager stats that correspond to the specified identifier pattern. |
void |
mergeVDBs(java.lang.String sourceVDBName,
int sourceVDBVersion,
java.lang.String targetVDBName,
int targetVDBVersion)
Merge the Source VDB into Target VDB. |
void |
removeRoleFromDataPolicy(java.lang.String vdbName,
int vdbVersion,
java.lang.String policyName,
java.lang.String role)
Assign a Role name to the Data Policy in a given VDB |
void |
setRuntimeProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Set a process level property. |
void |
terminateSession(java.lang.String sessionId)
Terminate the Session |
void |
terminateTransaction(java.lang.String transactionId)
Mark the given global transaction as rollback only. |
| Method Detail |
|---|
void assignToModel(java.lang.String vdbName,
int vdbVersion,
java.lang.String modelName,
java.lang.String sourceName,
java.lang.String translatorName,
java.lang.String dsName)
throws AdminException
Translator and Data source to a VDB's Model
vdbName - 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.
AdminException
void deployVDB(java.lang.String fileName,
java.io.InputStream vdb)
throws AdminException
VDB file.
name - Name of the VDB file to save underVDB - VDB.
AdminException
void deleteVDB(java.lang.String vdbName,
int vdbVersion)
throws AdminException
vdbName - version -
AdminException
void setRuntimeProperty(java.lang.String propertyName,
java.lang.String propertyValue)
throws AdminException
propertyName - - name of the propertypropertyValue - - value of the property
AdminException
java.util.Set<VDB> getVDBs()
throws AdminException
VDBs. There could be multiple VDBs with the
same name in the Collection but they will differ by VDB version.
AdminException
VDB getVDB(java.lang.String vdbName,
int vbdVersion)
throws AdminException
vdbName - vbdVersion -
AdminException
java.util.Collection<Translator> getTranslators()
throws AdminException
Translator
AdminException
Translator getTranslator(java.lang.String deployedName)
throws AdminException
deployedName - - name of the deployed translator
AdminException
WorkerPoolStatistics getWorkManagerStats(java.lang.String identifier)
throws AdminException
identifier - - an identifier for the queues QueueWorkerPool.
QueueWorkerPool
AdminException
java.util.Collection<java.lang.String> getCacheTypes()
throws AdminException
String
AdminException
java.util.Collection<Session> getSessions()
throws AdminException
Session
AdminException
java.util.Collection<Request> getRequests()
throws AdminException
Request
AdminException
java.util.Collection<Request> getRequestsForSession(java.lang.String sessionId)
throws AdminException
Request
AdminException
java.util.Collection<PropertyDefinition> getTemplatePropertyDefinitions(java.lang.String templateName)
throws AdminException
templateName - - Name of the connector
AdminException
java.util.Collection<Transaction> getTransactions()
throws AdminException
AdminException
java.util.Collection<ProcessObject> getProcesses(java.lang.String processIdentifier)
throws AdminException
processIdentifier - the unique identifier for for a ProcessObject
in the system or "WILDCARD"
if all Processes are desired.
ProcessObject
AdminException - if there's a system error.
void clearCache(java.lang.String cacheType)
throws AdminException
cacheType - Cache Type
No wild cards currently supported, must be explicit
AdminException
void terminateSession(java.lang.String sessionId)
throws AdminException
identifier - Session Identifier Session.
No wild cards currently supported, must be explicit
AdminException
void cancelRequest(java.lang.String sessionId,
long requestId)
throws AdminException
sessionId - session Identifier for the request.requestId - request Identifier
AdminException
void terminateTransaction(java.lang.String transactionId)
throws AdminException
transactionId -
AdminExceptionvoid close()
void addRoleToDataPolicy(java.lang.String vdbName,
int vdbVersion,
java.lang.String policyName,
java.lang.String role)
throws AdminException
vdbName - vdbVersion - policyName - role -
AdminException
void removeRoleFromDataPolicy(java.lang.String vdbName,
int vdbVersion,
java.lang.String policyName,
java.lang.String role)
throws AdminException
vdbName - vdbVersion - policyName - role -
AdminException
void mergeVDBs(java.lang.String sourceVDBName,
int sourceVDBVersion,
java.lang.String targetVDBName,
int targetVDBVersion)
throws AdminException
sourceVDBName - sourceVDBVersion - targetVDBName - targetVDBVersion -
AdminException
void createDataSource(java.lang.String deploymentName,
java.lang.String templateName,
java.util.Properties properties)
throws AdminException
deploymentName - - name of the sourcetemplateName - - template of data sourceproperties - - properties
AdminException
void deleteDataSource(java.lang.String deployedName)
throws AdminException
deployedName -
AdminException
java.util.Collection<java.lang.String> getDataSourceNames()
throws AdminException
AdminException
java.util.Set<java.lang.String> getDataSourceTemplateNames()
throws AdminException
AdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||