|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.admin.server.ServerAdminImpl
public class ServerAdminImpl
| Field Summary | |
|---|---|
protected static int |
SERVICE_WAIT_INTERVAL
How often to poll for services starting/stopping |
| Constructor Summary | |
|---|---|
ServerAdminImpl(ClusteredRegistryState registry,
HostManagement hostManagement)
xtor |
|
| Method Summary | |
|---|---|
void |
addAuthorizationProvider(java.lang.String domainprovidername,
java.lang.String providertypename,
java.util.Properties properties)
|
void |
addConnectorArchive(byte[] archiveContents,
AdminOptions options)
Add Connector Type and all the required extension modules required by the this connector type into the system from the given file byte stream which is encoded inthe Connector Archive format. |
ConnectorBinding |
addConnectorBinding(java.lang.String name,
char[] xmlFile,
AdminOptions options)
Import a ConnectorBinding into the Configuration. |
ConnectorBinding |
addConnectorBinding(java.lang.String connectorBindingIdentifier,
java.lang.String connectorTypeIdentifier,
java.util.Properties props,
AdminOptions options)
Deploy a ConnectorBinding to Configuration |
void |
addConnectorType(java.lang.String name,
char[] cdkFile)
Add Connector Type, will import Connector Type from a file |
void |
addExtensionModule(java.lang.String type,
java.lang.String sourceName,
byte[] source,
java.lang.String description)
Adds an ExtensionModule to the end of the list of modules. |
void |
addHost(java.lang.String hostName,
java.util.Properties properties)
Add a Host with Properties to MetaMatrix System |
void |
addProcess(java.lang.String processIdentifier,
java.util.Properties properties)
Add Process to specified host in the processIdentifier |
void |
addUDF(byte[] modelFileContents,
java.lang.String classpath)
Add User Defined Function model to the system. |
VDB |
addVDB(java.lang.String name,
byte[] vdbFile,
AdminOptions options)
Import a VDB file. |
void |
assignBindingsToModel(java.lang.String[] connectorBindingNames,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Assign ConnectorBindings to a VDB's Model. |
void |
assignBindingToModel(java.lang.String connectorBindingName,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Assign a ConnectorBinding to a VDB's Model |
void |
assignRoleToGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
Assign to the given Group the given Administrative Role. |
boolean |
authenticateUser(java.lang.String username,
char[] credentials,
java.io.Serializable trustePayload,
java.lang.String applicationName)
Authenticate a user with the specified user name and credentials for use with the specified application. |
void |
bounceSystem(boolean waitUntilDone)
Stop and restart the entire system. |
void |
cancelRequest(java.lang.String identifier)
Cancel Request |
void |
cancelSourceRequest(java.lang.String identifier)
Cancel Source Request |
void |
changeVDBStatus(java.lang.String name,
java.lang.String version,
int status)
Change the status of a Deployed VDB |
void |
clearCache(java.lang.String cacheIdentifier)
Clear the cache or caches specified by the cacheIdentifier. |
void |
close()
Do nothing: this is implemented in ServerAdminClientInterceptor on the client-side. |
void |
deassignBindingFromModel(java.lang.String connectorBindingName,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Deassign a ConnectorBinding from a VDB's Model |
void |
deassignBindingsFromModel(java.lang.String[] connectorBindingNames,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Deassign ConnectorBindings from a VDB's Model. |
void |
deleteConnectorBinding(java.lang.String connectorBindingIdentifier)
Delete the ConnectorBinding from the Configuration |
void |
deleteConnectorType(java.lang.String name)
Delete Connector Type from Next Configuration |
void |
deleteExtensionModule(java.lang.String sourceName)
Deletes an ExtensionModule from the list of modules. |
void |
deleteHost(java.lang.String identifier)
Delete Host in Configuration |
void |
deleteProcess(java.lang.String identifier)
Delete Process in Configuration |
void |
deleteUDF()
Delete the User Defined Function model. |
void |
deleteVDB(java.lang.String vdbName,
java.lang.String version)
Delete the VDB with the given name and version |
void |
disableHost(java.lang.String identifier)
Disable Host in Configuration |
void |
disableProcess(java.lang.String identifier)
Disable Process in Configuration |
void |
enableHost(java.lang.String identifier)
Enable Host in Configuration |
void |
enableProcess(java.lang.String identifier)
Enable Process in Configuration |
char[] |
exportConfiguration()
Export Configuration to character Array in XML format |
byte[] |
exportConnectorArchive(java.lang.String connectorTypeIdentifier)
Export Connector Archive, which is bundled connector type with its xml properties file and all the extension modules required by the this connector type |
char[] |
exportConnectorBinding(java.lang.String connectorBindingIdentifier)
Export a ConnectorBinding to character Array in XML format |
char[] |
exportConnectorType(java.lang.String connectorTypeIdentifier)
Export Connector Type to character array |
char[] |
exportDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion)
Export the data roles defined for the given vdb from the current system |
byte[] |
exportExtensionModule(java.lang.String sourceName)
Export an ExtensionModule to byte array |
byte[] |
exportLogs()
Export the server logs to a byte[]. |
byte[] |
exportVDB(java.lang.String name,
java.lang.String version)
Export VDB to byte array |
void |
extensionModuleModified(java.lang.String name)
Indicates that an extension module has changed |
ScriptsContainer |
generateMaterializationScripts(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String metamatrixUserName,
java.lang.String metamatrixUserPwd,
java.lang.String materializationUserName,
java.lang.String materializationUserPwd)
Generate the scripts necessary for loading or refreshing a VDB with Materialized Views. |
protected AuthorizationServiceInterface |
getAuthorizationServiceProxy()
|
java.util.Properties |
getBootstrapProperties()
Return the bootstrap properties used to configure initialize the system. |
java.util.Collection |
getCaches(java.lang.String identifier)
Get the Caches that correspond to the specified identifier pattern |
byte[] |
getClusterKey()
Retrieves the cluster key that authenticates and secures intra-cluster communication. |
protected ConfigurationServiceInterface |
getConfigurationServiceProxy()
|
java.util.Collection |
getConnectionPoolStats(java.lang.String identifier)
Get the Connection Pool Stats that correspond to the specified identifier pattern. |
java.util.Collection |
getConnectorBindings(java.lang.String identifier)
Get the Connector Bindings that correspond to the specified identifier pattern. |
java.util.Collection |
getConnectorBindingsInVDB(java.lang.String identifier)
|
java.util.Collection<ConnectorBinding> |
getConnectorBindingsInVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
Get all the Connector Bindings for the given VDB identifier pattern |
java.util.Collection<PropertyDefinition> |
getConnectorTypePropertyDefinitions(java.lang.String connectorTypeIdentifier)
Get all of the available Configuration Properties for the specified AdminObject, and details about them. |
java.util.Collection |
getConnectorTypes(java.lang.String identifier)
Get the Connector Types that correspond to the specified identifier pattern. |
java.util.List<java.lang.String> |
getDomainNames()
Returns the active authorization provider domain names, in authentication order. |
java.util.Collection |
getDQPs(java.lang.String identifier)
Get the DQPs that correspond to the specified identifer pattern. |
java.util.Collection |
getExtensionModules(java.lang.String identifier)
Get the Extension Modules that correspond to the specified identifier pattern |
protected ExtensionModuleManager |
getExtensionSourceManager()
|
java.util.Collection |
getGroups(java.lang.String groupIdentifier)
Get the group denoted by the given groupIdentifier. |
java.util.Collection<Group> |
getGroupsForDomain(java.lang.String domainName)
Return the Groups for a given domain. |
java.util.Collection |
getGroupsForUser(java.lang.String userIdentifier)
Get the group memberships for the given user. |
java.util.Collection |
getHosts(java.lang.String identifier)
Get the hosts that correspond to the specified identifier pattern. |
LogConfiguration |
getLogConfiguration()
Get the LogConfiguration |
protected MembershipServiceInterface |
getMembershipServiceProxy()
|
java.util.Collection |
getProcesses(java.lang.String identifier)
Get the processes that correspond to the specified identifier pattern. |
java.util.Collection |
getPropertyDefinitions(java.lang.String identifier,
java.lang.String className)
|
protected QueryServiceInterface |
getQueryServiceProxy()
|
java.util.Collection |
getQueueWorkerPools(java.lang.String identifier)
Get the Queue Worker Pools that correspond to the specified identifier pattern. |
java.util.Collection |
getRequests(java.lang.String identifier)
Get the Requests that correspond to the specified identifier pattern |
java.util.Collection |
getResources(java.lang.String identifier)
Get the Resources that correspond to the specified identifer pattern. |
java.util.Collection |
getRolesForGroup(java.lang.String groupIdentifier)
Get the Collection of administrative role names possessed by the given group, if any. |
java.util.Collection |
getRolesForUser(java.lang.String userIdentifier)
Get the Collection of administrative role names possessed by the given user, if any. |
protected RuntimeStateAdminAPIHelper |
getRuntimeStateAdminAPIHelper()
|
java.util.Collection |
getServices(java.lang.String identifier)
Get the Services that correspond to the specified identifer pattern. |
java.util.Collection |
getSessions(java.lang.String identifier)
Get the Sessions that correspond to the specified identifier pattern |
protected SessionServiceInterface |
getSessionServiceProxy()
|
java.util.Collection |
getSourceRequests(java.lang.String identifier)
Get the Source Request that correspond to the specified identifier pattern |
SystemObject |
getSystem()
|
java.util.Collection<Transaction> |
getTransactions()
Get all transaction matching the identifier. |
java.util.Collection |
getVDBs(java.lang.String identifier)
Get the VDBs that correspond to the specified identifier pattern. |
void |
importConfiguration(char[] fileData)
Import the Configuration from a character array in XML format. |
java.lang.String |
importDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion,
char[] data,
AdminOptions options)
Import the data Roles for given vdb and version into the connected server |
void |
removeRoleFromGroup(java.lang.String roleIdentifier,
java.lang.String grouplIdentifier)
Remove an administrative role from the given Group. |
void |
restart()
Restart System |
void |
setConnectorBindingProperty(java.lang.String deployedName,
java.lang.String propertyName,
java.lang.String propertyValue)
Set/update the property for the Connector Binding identified by the given deployed name. |
void |
setLogConfiguration(LogConfiguration config)
Set the LogConfiguration in the MetaMatrix Server |
void |
setLogListener(EmbeddedLogger listener)
Set the log listener to install into MM Query. |
void |
setProcessProperty(java.lang.String processIdentifier,
java.lang.String propertyName,
java.lang.String propertyValue)
Set a process level property. |
void |
setProperty(java.lang.String identifier,
java.lang.String className,
java.lang.String propertyName,
java.lang.String propertyValue)
|
void |
setSystemProperty(java.lang.String property,
java.lang.String value)
|
void |
shutdown(int millisToWait)
Stop the MM Query. |
void |
startConnectorBinding(java.lang.String connectorBindingIdentifier)
Start Connector Binding |
void |
startHost(java.lang.String hostName,
boolean waitUntilDone)
Start the Host for this cluster |
void |
startProcess(java.lang.String identifier,
boolean waitUntilDone)
Start a Process in the system. |
void |
stopConnectorBinding(java.lang.String connectorBindingIdentifier,
boolean stopNow)
Stop Connector Binding |
void |
stopHost(java.lang.String hostName,
boolean stopNow,
boolean waitUntilDone)
Stop the Host for this cluster |
void |
stopProcess(java.lang.String identifier,
boolean stopNow,
boolean waitUntilDone)
Stop Process running in the system. |
void |
stopSystem()
Stop the entire system. |
void |
synchronizeSystem(boolean waitUntilDone)
Synchronize the entire system. |
void |
terminateSession(java.lang.String identifier)
Terminate the Session |
void |
terminateTransaction(java.lang.String transactionId,
java.lang.String sessionId)
Mark the given transaction as rollback only. |
void |
terminateTransaction(javax.transaction.xa.Xid transactionId)
Mark the given global transaction as rollback only. |
void |
updateProperties(java.lang.String identifier,
java.lang.String className,
java.util.Properties properties)
|
void |
updateSystemProperties(java.util.Properties properties)
|
protected void |
waitForServicesToStart(java.util.Collection expectedServiceNames)
|
protected void |
waitForServicesToStop(java.util.Collection expectedServiceNames)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int SERVICE_WAIT_INTERVAL
| Constructor Detail |
|---|
public ServerAdminImpl(ClusteredRegistryState registry,
HostManagement hostManagement)
| Method Detail |
|---|
public void addAuthorizationProvider(java.lang.String domainprovidername,
java.lang.String providertypename,
java.util.Properties properties)
throws AdminException
addAuthorizationProvider in interface ServerConfigAdmindomainprovidername - is the name to be assigned to the newly created AuthenticationProviderprovidertypename - is the type of provider to create.
There are 3 installed provider types and they are:
File Membership Domain Provider
LDAP Membership Domain Provider
Custom Membership Domain Provider
properties - are the settings specified by the providertype to be used
AdminException - if there's a system error.org.teiid.adminapi.ConfigurationAdmin#addAuthorizationProvider(java.lang.String, java.lang.String, java.util.Properties)
public java.util.Collection getCaches(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getCaches in interface MonitoringAdminidentifier - - an identifier for the cache in Cache
"*" - for all different caches in the system
"name*" - for all the caches that begin with given name
"name" - for a single cache in the system
Cache
AdminException - if there's a system error.MonitoringAdmin.getCaches(java.lang.String)
public java.util.Collection getConnectorBindings(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getConnectorBindings in interface MonitoringAdminidentifier - the unique identifier pattern of ConnectorBinding
"*" - for all connector bindings in the system
"name*" - for all connector bindings that begin with given name
"name" - for single connector binding by the given name
ConnectorBinding
AdminException - if there's a system error.MonitoringAdmin.getConnectorBindings(java.lang.String)
public java.util.Collection getConnectorBindingsInVDB(java.lang.String identifier)
throws AdminException
AdminExceptionorg.teiid.adminapi.MonitoringAdmin#getConnectorBindingsInVDB(java.lang.String)
public java.util.Collection getConnectorTypes(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getConnectorTypes in interface MonitoringAdminidentifier - the unique identifier for for a ConnectorType
"*" - for all connector types in the system
"name*" - for all the connector types that begin with given name
"name" - for the single connector type identified by name
ConnectorType
AdminException - if there's a system error.MonitoringAdmin.getConnectorTypes(java.lang.String)
public java.util.Collection getDQPs(java.lang.String identifier)
throws AdminException
ServerMonitoringAdminDQPs that correspond to the specified identifer pattern.
getDQPs in interface ServerMonitoringAdminidentifier - the unique identifier for for a DQP
in the system or "WILDCARD"
if all Resources are desired.
DQP
AdminException - if there's a system error.ServerMonitoringAdmin.getDQPs(java.lang.String)
public java.util.Collection getExtensionModules(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getExtensionModules in interface MonitoringAdminidentifier - - the unique identifier for ExtensionModule
"*" - for all extension modules in the system
"name*" - for all the extension modules in that begin with given name
"name" - for a single extension module identified by given name
ExtensionModule
AdminException - if there's a system error.MonitoringAdmin.getExtensionModules(java.lang.String)
public java.util.Collection getHosts(java.lang.String identifier)
throws AdminException
ServerMonitoringAdmin
getHosts in interface ServerMonitoringAdminidentifier - the unique identifier for for a Host
in the system or "WILDCARD"
if all hosts are desired.
Host
AdminException - if there's a system error.ServerMonitoringAdmin.getHosts(java.lang.String)
public java.util.Collection getProcesses(java.lang.String identifier)
throws AdminException
ServerMonitoringAdmin
getProcesses in interface ServerMonitoringAdmingetProcesses in interface MonitoringAdminidentifier - 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.ServerMonitoringAdmin.getProcesses(java.lang.String)
public java.util.Collection getQueueWorkerPools(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getQueueWorkerPools in interface MonitoringAdminidentifier - - an identfier for the queues QueueWorkerPool
"*" - for all Queue workers in the system
"name*" - for all the Queue workers in that begin with given name
"name" - for a single queue in the system
QueueWorkerPool
AdminException - if there's a system error.MonitoringAdmin.getQueueWorkerPools(java.lang.String)
public java.util.Collection getRequests(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getRequests in interface MonitoringAdminidentifier - - An Identifier for Request
"*" - for all current in process requests of the system
"number* or number<AdminObject.DELIMITER_CHAR>*" - for all the sessions
that begin with given number, or all the requests for particular session etc.
"number<AdminObject.DELIMITER_CHAR>number" - for a single request in the system
Request
AdminException - if there's a system error.MonitoringAdmin.getRequests(java.lang.String)
public java.util.Collection getResources(java.lang.String identifier)
throws AdminException
ServerMonitoringAdmin
getResources in interface ServerMonitoringAdminidentifier - the unique resourceIdentifier for for a Resource
in the system or "WILDCARD"
if all Resources are desired.
Resource
AdminException - if there's a system error.ServerMonitoringAdmin.getResources(java.lang.String)
public java.util.Collection getSessions(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getSessions in interface MonitoringAdminidentifier - - an unique identifier for Session
"*" - for all current sessions of the system
"number*" - for all the sessions that begin with given number
"number" - for a single current session in the system
Session
AdminException - if there's a system error.MonitoringAdmin.getSessions(java.lang.String)
public java.util.Collection getSourceRequests(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getSourceRequests in interface MonitoringAdminidentifier - An Identifier for Request
"*" - for all current in process requests of the system
"number* or number<AdminObject.DELIMITER_CHAR>* or number.number.*" - for all the sessions
that begin with given number, or all the requests for particular session etc.
"number<AdminObject.DELIMITER_CHAR>number<AdminObject.DELIMITER_CHAR>number" - for a single source request in the system
Request
AdminException - if there's a system error.MonitoringAdmin.getSourceRequests(java.lang.String)
public SystemObject getSystem()
throws AdminException
AdminExceptioncom.metamatrix.admin.api.server.ServerMonitoringAdmin#getSystem()
public java.util.Collection getVDBs(java.lang.String identifier)
throws AdminException
MonitoringAdmin
getVDBs in interface MonitoringAdminidentifier - the unique identifier for for a VDB in the system
"*" - for all VDBs in the system
"name" or "name*" - for all the VDBs that begin with given name
"name<AdminObject.DELIMITER_CHAR>version" - for single VDB
VDBs. There could be multiple VDBs with the
same name in the Collection but they will differ by VDB version.
AdminException - if there's a system error.MonitoringAdmin.getVDBs(java.lang.String)
public java.util.Collection getPropertyDefinitions(java.lang.String identifier,
java.lang.String className)
throws AdminException
AdminExceptionorg.teiid.adminapi.MonitoringAdmin#getPropertyDefinitions(java.lang.String, java.lang.String)
public byte[] exportLogs()
throws AdminException
ServerMonitoringAdmin
exportLogs in interface ServerMonitoringAdminAdminExceptionServerMonitoringAdmin.exportLogs()
public ConnectorBinding addConnectorBinding(java.lang.String connectorBindingIdentifier,
java.lang.String connectorTypeIdentifier,
java.util.Properties props,
AdminOptions options)
throws AdminException
ConfigurationAdminConnectorBinding to Configuration
addConnectorBinding in interface ConfigurationAdminconnectorBindingIdentifier - is the Connector Binding name that will be added to ConfigurationconnectorTypeIdentifier - Name of the Connector Typeprops - Name & Value pair need to deploy the Connector Bindingoptions - The perferred options when executing this method. There are choices about
what to do when a connector binding with the given identifier already exists in the system.
See the interface AdminOptions.OnConflict for details.
Another option is to ignore a binding connection password decrypt error, when adding a connector binding whose password was encrypted with a different keystore, so that the new password property can be set after the connector binding has been added.
ConnectorBinding representing the current property values and runtime state.
Note that if this is a system with multiple Processes, this method may actually create multiple deployed
Connector Bindings (one for each process). This method will return one of them, arbitrarily.
AdminException - if there's a system error.ConfigurationAdmin.addConnectorBinding(java.lang.String,
java.lang.String, java.util.Properties, AdminOptions)
public ConnectorBinding addConnectorBinding(java.lang.String name,
char[] xmlFile,
AdminOptions options)
throws AdminException
ConfigurationAdminConnectorBinding into the Configuration.
addConnectorBinding in interface ConfigurationAdminname - is the Connector Binding name that will be added to ConfigurationxmlFile - contents of XML file that will be sent to the server.options - The perferred options when executing this method. There are choices about
what to do when a connector binding with the given identifier already exists in the system.
See the interface AdminOptions.OnConflict for details.
Another option is to ignore a binding connection password decrypt error, when adding a connector binding whose password was encrypted with a different keystore, so that the new password property can be set after the connector binding has been added.
ConnectorBinding representing the current property values and runtime state.
Note that if this is a system with multiple Processes, this method may actually create multiple deployed
Connector Bindings (one for each process). This method will return one of them, arbitrarily.
AdminException - if there's a system error.ConfigurationAdmin.addConnectorBinding(java.lang.String, char[], AdminOptions)
public void addConnectorType(java.lang.String name,
char[] cdkFile)
throws AdminException
ConfigurationAdmin
addConnectorType in interface ConfigurationAdminname - of the Connector Type to addcdkFile - contents of File from Client
MetaMatrixProcessingException
MetaMatrixComponentException
AdminException - if there's a system error.ConfigurationAdmin.addConnectorType(java.lang.String, char[])
public void addConnectorArchive(byte[] archiveContents,
AdminOptions options)
throws AdminException
ConfigurationAdmin
addConnectorArchive in interface ConfigurationAdminarchiveContents - contents of Fileoptions - resolution option in case of conflict in the connector type
AdminException - if there's a system error.ConfigurationAdmin.addConnectorArchive(byte[], org.teiid.adminapi.AdminOptions)
public void addExtensionModule(java.lang.String type,
java.lang.String sourceName,
byte[] source,
java.lang.String description)
throws AdminException
ConfigurationAdminExtensionModule to the end of the list of modules.
addExtensionModule in interface ConfigurationAdmintype - one of the known types of extension filesourceName - name (e.g. filename) of extension modulesource - actual contents of moduledescription - (optional) description of the extension module - may be null
AdminException - if there's a system error.com.metamatrix.admin.api.server.ServerConfigAdmin#addExtensionModule(java.lang.String, java.lang.String, byte[], java.lang.String, boolean)
public void addHost(java.lang.String hostName,
java.util.Properties properties)
throws AdminException
ServerConfigAdmin
addHost in interface ServerConfigAdminhostName - Name of Host to addproperties - name,value
MetaMatrixComponentException
MetaMatrixProcessingException
AdminException - if there's a system error.ServerConfigAdmin.addHost(java.lang.String, java.util.Properties)
public void addProcess(java.lang.String processIdentifier,
java.util.Properties properties)
throws AdminException
ServerConfigAdmin
addProcess in interface ServerConfigAdminprocessIdentifier - Process Identifiers is Host Name.Process Name e.g. "myhost.MetaMatrixProcess"
MetaMatrixComponentException
MetaMatrixProcessingException
AdminException - if there's a system error.ServerConfigAdmin.addProcess(java.lang.String, java.util.Properties)
public VDB addVDB(java.lang.String name,
byte[] vdbFile,
AdminOptions options)
throws AdminException
ConfigurationAdminVDB file.
addVDB in interface ConfigurationAdminname - VDB NamevdbFile - byte array of the VDB Archiveoptions - The perferred options when executing this method. There are choices about
what to do when a connector binding with the given identifier already exists in the system.
VDB representing the current property values and runtime state.
AdminException - if there's a system error.com.metamatrix.admin.api.server.ServerConfigAdmin#addVDB(java.lang.String, java.lang.String, byte[], char[])
public void changeVDBStatus(java.lang.String name,
java.lang.String version,
int status)
throws AdminException
RuntimeStateAdmin
changeVDBStatus in interface RuntimeStateAdminname - Name of the Virtual Databaseversion - Version of the Virtual Databasestatus - Active, InActive, Delete
AdminException - if there's a system error.com.metamatrix.admin.api.server.ServerConfigAdmin#changeVDBStatus(java.lang.String, java.lang.String, int)
public void disableHost(java.lang.String identifier)
throws AdminException
ServerConfigAdmin
disableHost in interface ServerConfigAdminAdminException - if there's a system error.ServerConfigAdmin.disableHost(java.lang.String)
public void disableProcess(java.lang.String identifier)
throws AdminException
ServerConfigAdmin
disableProcess in interface ServerConfigAdminAdminException - if there's a system error.ServerConfigAdmin.disableProcess(java.lang.String)
public void enableHost(java.lang.String identifier)
throws AdminException
ServerConfigAdmin
enableHost in interface ServerConfigAdminAdminException - if there's a system error.ServerConfigAdmin.enableHost(java.lang.String)
public void enableProcess(java.lang.String identifier)
throws AdminException
ServerConfigAdmin
enableProcess in interface ServerConfigAdminAdminException - if there's a system error.ServerConfigAdmin.enableProcess(java.lang.String)
public LogConfiguration getLogConfiguration()
throws AdminException
ConfigurationAdminLogConfiguration
getLogConfiguration in interface ConfigurationAdminAdminException - if there's a system error.ConfigurationAdmin.getLogConfiguration()
public void setLogConfiguration(LogConfiguration config)
throws AdminException
ConfigurationAdminLogConfiguration in the MetaMatrix Server
setLogConfiguration in interface ConfigurationAdminAdminException - if there's a system error.ConfigurationAdmin.setLogConfiguration(org.teiid.adminapi.LogConfiguration)
public void setSystemProperty(java.lang.String property,
java.lang.String value)
throws AdminException
AdminExceptioncom.metamatrix.admin.api.server.ServerConfigAdmin#setSystemProperty(java.lang.String, java.lang.String)
public void updateSystemProperties(java.util.Properties properties)
throws AdminException
AdminExceptionorg.teiid.adminapi.ConfigurationAdmin#updateSystemProperties(java.util.Properties)
public void cancelRequest(java.lang.String identifier)
throws AdminException
RuntimeStateAdmin
cancelRequest in interface RuntimeStateAdminidentifier - The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException - if there's a system error.RuntimeStateAdmin.cancelRequest(java.lang.String)
public void cancelSourceRequest(java.lang.String identifier)
throws AdminException
RuntimeStateAdmin
cancelSourceRequest in interface RuntimeStateAdminidentifier - The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException - if there's a system error.RuntimeStateAdmin.cancelSourceRequest(java.lang.String)
public void startConnectorBinding(java.lang.String connectorBindingIdentifier)
throws AdminException
RuntimeStateAdmin
startConnectorBinding in interface RuntimeStateAdminconnectorBindingIdentifier - identifier for ConnectorBinding
"*" - for all connector bindings in the system
"name*" - for all connector bindings that begin with given name
"name" - for single connector binding by the given name
AdminException - if there's a system error.RuntimeStateAdmin.startConnectorBinding(java.lang.String)
public void startHost(java.lang.String hostName,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
startHost in interface ServerRuntimeStateAdminhostName - the unique identifier for for a Host
in the system.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.startHost(java.lang.String, boolean)
public void stopConnectorBinding(java.lang.String connectorBindingIdentifier,
boolean stopNow)
throws AdminException
RuntimeStateAdmin
stopConnectorBinding in interface RuntimeStateAdminconnectorBindingIdentifier - identifier for ConnectorBinding
"*" - for all connector bindings in the system
"name*" - for all connector bindings that begin with given name
"name" - for single connector binding by the given name
stopNow - If true, stop the process forcefully. If false, wait until any pending work is done.
AdminException - - if there's a system error.com.metamatrix.admin.api.RuntimeStateAdmin#stopConnectorBinding(java.lang.String, boolean)
public void stopHost(java.lang.String hostName,
boolean stopNow,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
stopHost in interface ServerRuntimeStateAdminhostName - the unique identifier for for a Host
in the system.stopNow - If true, stop the host forcefully. If false, wait until any pending work is done.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.com.metamatrix.admin.api.RuntimeStateAdmin#stopHost(java.lang.String, boolean, boolean)
public void stopProcess(java.lang.String identifier,
boolean stopNow,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
stopProcess in interface ServerRuntimeStateAdminidentifier - the unique identifier for for a
ProcessObject in the system.stopNow - a boolean value indicating whether to halt the process immediately
or let it finish processing first.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.com.metamatrix.admin.api.RuntimeStateAdmin#stopProcess(java.lang.String, boolean, boolean)
public void startProcess(java.lang.String identifier,
boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
startProcess in interface ServerRuntimeStateAdminidentifier - the unique identifier for for a
ProcessObject in the system.waitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.startProcess(java.lang.String, boolean)
public void stopSystem()
throws AdminException
ServerRuntimeStateAdmin
stopSystem in interface ServerRuntimeStateAdminAdminException - if there's a system error.ServerRuntimeStateAdmin.stopSystem()
public void bounceSystem(boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
bounceSystem in interface ServerRuntimeStateAdminwaitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
NOTE: If waitUntilDone is true, this method will wait until the server is able to connect to,
but it may not wait until non-essential services are available.
AdminException - if there's a system error.ServerRuntimeStateAdmin.bounceSystem(boolean)
public void synchronizeSystem(boolean waitUntilDone)
throws AdminException
ServerRuntimeStateAdmin
synchronizeSystem in interface ServerRuntimeStateAdminwaitUntilDone - If true, this method waits until the operation is finished before returning.
This may take a long time to complete. If false, this method returns immediately, even though the operation
may not be finished.
AdminException - if there's a system error.ServerRuntimeStateAdmin.synchronizeSystem(boolean)
public void terminateSession(java.lang.String identifier)
throws AdminException
RuntimeStateAdmin
terminateSession in interface RuntimeStateAdminidentifier - Session Identifier Session.
No wild cards currently supported, must be explicit
AdminException - if there's a system error.RuntimeStateAdmin.terminateSession(java.lang.String)
public void clearCache(java.lang.String cacheIdentifier)
throws AdminException
RuntimeStateAdmin
clearCache in interface RuntimeStateAdmincacheIdentifier - Cache name identifier Cache.
No wild cards currently supported, must be explicit
AdminException - if there's a system error.RuntimeStateAdmin.clearCache(java.lang.String)
public void setProperty(java.lang.String identifier,
java.lang.String className,
java.lang.String propertyName,
java.lang.String propertyValue)
throws AdminException
AdminExceptioncom.metamatrix.admin.api.server.ServerConfigAdmin#setProperty(java.lang.String, java.lang.String, java.lang.String)
public void updateProperties(java.lang.String identifier,
java.lang.String className,
java.util.Properties properties)
throws AdminException
AdminExceptionorg.teiid.adminapi.ConfigurationAdmin#updateProperties(java.lang.String, java.lang.String, java.util.Properties)
public void deleteConnectorBinding(java.lang.String connectorBindingIdentifier)
throws AdminException
ConfigurationAdminConnectorBinding from the Configuration
deleteConnectorBinding in interface ConfigurationAdminAdminException - if there's a system error.ConfigurationAdmin.deleteConnectorBinding(java.lang.String)
public void deleteConnectorType(java.lang.String name)
throws AdminException
ConfigurationAdmin
deleteConnectorType in interface ConfigurationAdminname - String name of the Connector Type to delete
AdminException - if there's a system error.ConfigurationAdmin.deleteConnectorType(java.lang.String)
public void deleteExtensionModule(java.lang.String sourceName)
throws AdminException
ConfigurationAdminExtensionModule from the list of modules.
deleteExtensionModule in interface ConfigurationAdminsourceName - name (e.g. filename) of extension module
AdminException - if there's a system error.ConfigurationAdmin.deleteExtensionModule(java.lang.String)
public void deleteHost(java.lang.String identifier)
throws AdminException
ServerConfigAdminNote that this method may invalidate your connection to the Admin API, if you are connected to the host you are deleting. You may receive an exception on the next call to the API, and then it will recover. As a workaround, you can close your connection and obtain a new connection.
deleteHost in interface ServerConfigAdminAdminException - if there's a system error.ServerConfigAdmin.deleteHost(java.lang.String)
public void deleteProcess(java.lang.String identifier)
throws AdminException
ServerConfigAdminNote that this method may invalidate your connection to the Admin API, if you are connected to the process you are deleting. You may receive an exception on the next call to the API, and then it will recover. As a workaround, you can close your connection and obtain a new connection.
deleteProcess in interface ServerConfigAdminidentifier - Process Identifer
AdminException - if there's a system error.ServerConfigAdmin.deleteProcess(java.lang.String)
protected SessionServiceInterface getSessionServiceProxy()
throws ServiceException
ServiceException
protected ConfigurationServiceInterface getConfigurationServiceProxy()
throws ServiceException
ServiceException
protected MembershipServiceInterface getMembershipServiceProxy()
throws ServiceException
ServiceException
protected AuthorizationServiceInterface getAuthorizationServiceProxy()
throws ServiceException
ServiceException
protected QueryServiceInterface getQueryServiceProxy()
throws ServiceException
ServiceExceptionprotected ExtensionModuleManager getExtensionSourceManager()
protected RuntimeStateAdminAPIHelper getRuntimeStateAdminAPIHelper()
public java.util.Collection getRolesForUser(java.lang.String userIdentifier)
throws AdminException
ServerSecurityAdmin
getRolesForUser in interface ServerSecurityAdminuserIdentifier - The unique identifier for the user. This is generally a user name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
Roles
AdminException - if there's a system error.ServerSecurityAdmin.getRolesForUser(java.lang.String)
public java.util.Collection getGroupsForUser(java.lang.String userIdentifier)
throws AdminException
ServerSecurityAdmin
getGroupsForUser in interface ServerSecurityAdmingetGroupsForUser in interface SecurityAdminuserIdentifier - The unique identifier for the user. This is generally a user name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
AdminException - if there's a system error.ServerSecurityAdmin.getGroupsForUser(java.lang.String)
public java.util.Collection getGroups(java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdmingroupIdentifier.
getGroups in interface ServerSecurityAdmingetGroups in interface SecurityAdmingroupIdentifier - The unique identifier for the Group. This is generally a group name. A group is a Principal and
a Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains. WILDCARD identifier, all all users in the system will
retrieved.
AdminException - if there's a system error.ServerSecurityAdmin.getGroups(java.lang.String)
public java.util.Collection getRolesForGroup(java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdmin
getRolesForGroup in interface ServerSecurityAdmingetRolesForGroup in interface SecurityAdmingroupIdentifier - The unique identifier for the Group. This is group name. A user is a Principal and a
Principal name is considered to be unique throughout the MetaMatrix system across all Membership domains.
The WILDCARD cannot be used here.
Roles.
AdminException - if there's a system error.ServerSecurityAdmin.getRolesForGroup(java.lang.String)
public void assignBindingToModel(java.lang.String connectorBindingName,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws AdminException
ConfigurationAdminConnectorBinding to a VDB's Model
assignBindingToModel in interface ConfigurationAdminconnectorBindingName - Name of the ConnectorBindingvdbName - Name of the VDBvdbVersion - Version of the VDBmodelName - Name of the Model to map Connector Binding
AdminException - if there's a system error or if there's a user input error.ConfigurationAdmin.assignBindingToModel(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void deassignBindingFromModel(java.lang.String connectorBindingName,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws AdminException
ServerConfigAdminConnectorBinding from a VDB's Model
deassignBindingFromModel in interface ServerConfigAdminconnectorBindingName - Name of the ConnectorBindingvdbName - Name of the VDBvdbVersion - Version of the VDBmodelName - Name of the Model to unmap Connector Binding
AdminException - if there's a system error or if there's a user input error.org.teiid.adminapi.ConfigurationAdmin#deassignBindingsFromModel(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void assignBindingsToModel(java.lang.String[] connectorBindingNames,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws AdminException
ServerConfigAdminConnectorBindings to a VDB's Model. If the supplied model does not
support MultiSource bindings, then only the first binding in the supplied array is assigned and
the remainder are ignored.
assignBindingsToModel in interface ServerConfigAdminassignBindingsToModel in interface ConfigurationAdminconnectorBindingNames - Names of the ConnectorBindingsvdbName - Name of the VDBvdbVersion - Version of the VDBmodelName - Name of the Model to map Connector Bindings
AdminException - if there's a system error or if there's a user input error.org.teiid.adminapi.ConfigurationAdmin#assignBindingToModel(String[], java.lang.String, java.lang.String, java.lang.String)
public void deassignBindingsFromModel(java.lang.String[] connectorBindingNames,
java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
throws AdminException
ServerConfigAdminConnectorBindings from a VDB's Model. Any of the supplied array of
bindings are deassigned from the supplied model.
deassignBindingsFromModel in interface ServerConfigAdminconnectorBindingNames - Names of the ConnectorBindingsvdbName - Name of the VDBvdbVersion - Version of the VDBmodelName - Name of the Model to unmap Connector Bindings
AdminException - if there's a system error or if there's a user input error.org.teiid.adminapi.ConfigurationAdmin#deassignBindingsFromModel(String[], java.lang.String, java.lang.String, java.lang.String)
public java.lang.String importDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion,
char[] data,
AdminOptions options)
throws AdminException
ServerSecurityAdmin
importDataRoles in interface ServerSecurityAdminimportDataRoles in interface SecurityAdminvdbName - - target name of the VDB, the roles to be imported undervdbVersion - - target version of the vdb, the roles to be imported underdata - - character data array containing the XML file which defines the rolesoptions - - options to overwrite in case the matching roles already exist.
AdminExceptionServerSecurityAdmin.importDataRoles(java.lang.String, java.lang.String, char[], org.teiid.adminapi.AdminOptions)
public char[] exportDataRoles(java.lang.String vdbName,
java.lang.String vdbVersion)
throws AdminException
ServerSecurityAdmin
exportDataRoles in interface ServerSecurityAdminexportDataRoles in interface SecurityAdminvdbName - - Name of the vdbvdbVersion - - version of the vdb
AdminExceptionServerSecurityAdmin.exportDataRoles(java.lang.String, java.lang.String)
public char[] exportConfiguration()
throws AdminException
ConfigurationAdmin
exportConfiguration in interface ConfigurationAdminAdminException - if there's a system error.ConfigurationAdmin.exportConfiguration()
public void importConfiguration(char[] fileData)
throws AdminException
ServerConfigAdmin
importConfiguration in interface ServerConfigAdminfileData - Contents of configuration file, in XML format, as exported by ConfigurationAdmin.exportConfiguration()
AdminException - if there's a system error.org.teiid.adminapi.ConfigurationAdmin#importConfiguration()
public char[] exportConnectorBinding(java.lang.String connectorBindingIdentifier)
throws AdminException
ConfigurationAdminConnectorBinding to character Array in XML format
exportConnectorBinding in interface ConfigurationAdminconnectorBindingIdentifier - the unique identifier for a ConnectorBinding.
AdminException - if there's a system error.ConfigurationAdmin.exportConnectorBinding(java.lang.String)
public char[] exportConnectorType(java.lang.String connectorTypeIdentifier)
throws AdminException
ConfigurationAdmin
exportConnectorType in interface ConfigurationAdminconnectorTypeIdentifier - the unique identifier for for a ConnectorType
AdminException - if there's a system error.ConfigurationAdmin.exportConnectorType(java.lang.String)
public byte[] exportConnectorArchive(java.lang.String connectorTypeIdentifier)
throws AdminException
ConfigurationAdmin
exportConnectorArchive in interface ConfigurationAdminconnectorTypeIdentifier - the unique identifier for for a ConnectorType
AdminException - if there's a system error.ConfigurationAdmin.exportConnectorArchive(java.lang.String)
public byte[] exportExtensionModule(java.lang.String sourceName)
throws AdminException
ConfigurationAdminExtensionModule to byte array
exportExtensionModule in interface ConfigurationAdminsourceName - unique identifier for the ExtensionModule.
AdminExceptionConfigurationAdmin.exportExtensionModule(java.lang.String)
public byte[] exportVDB(java.lang.String name,
java.lang.String version)
throws AdminException
ConfigurationAdmin
exportVDB in interface ConfigurationAdminname - identifier of the VDBversion - VDB version
AdminException - if there's a system error.ConfigurationAdmin.exportVDB(java.lang.String, java.lang.String)
public void assignRoleToGroup(java.lang.String roleIdentifier,
java.lang.String groupIdentifier)
throws AdminException
ServerSecurityAdminGroup the given Administrative Role.
assignRoleToGroup in interface ServerSecurityAdminassignRoleToGroup in interface SecurityAdminroleIdentifier - one of AdminRoles.groupIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.ServerSecurityAdmin.assignRoleToGroup(java.lang.String, java.lang.String)
public void removeRoleFromGroup(java.lang.String roleIdentifier,
java.lang.String grouplIdentifier)
throws AdminException
ServerSecurityAdminGroup.
removeRoleFromGroup in interface ServerSecurityAdminremoveRoleFromGroup in interface SecurityAdminroleIdentifier - one of AdminRolesgrouplIdentifier - the unique identifier for the Principal. The WILDCARD cannot be used here.
AdminException - if there's a system error.ServerSecurityAdmin.removeRoleFromGroup(java.lang.String, java.lang.String)public void close()
close in interface ServerAdminServerAdmin.close()
protected void waitForServicesToStart(java.util.Collection expectedServiceNames)
throws MetaMatrixComponentException
MetaMatrixComponentException
protected void waitForServicesToStop(java.util.Collection expectedServiceNames)
throws MetaMatrixComponentException
MetaMatrixComponentException
public ScriptsContainer generateMaterializationScripts(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String metamatrixUserName,
java.lang.String metamatrixUserPwd,
java.lang.String materializationUserName,
java.lang.String materializationUserPwd)
throws AdminException
ServerConfigAdminThis method requires that the VDB version exists in the system and that materialization model(s) have connector bindings bound to them.
generateMaterializationScripts in interface ServerConfigAdminvdbName - the name of the VDB containing that materialized views.vdbVersion - the version of the VDB.metamatrixUserName - the user that will be used to run the load transformation in
MetaMatrix (Load).metamatrixUserPwd - the MetaMatrix user's password.materializationUserName - the user that will be used to log in directly to the
Materialization database and run the DDL (Create, Truncate, Swap).materializationUserPwd - the materialization user's password.
AdminException - if there's a system error.ServerConfigAdmin.generateMaterializationScripts(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void addUDF(byte[] modelFileContents,
java.lang.String classpath)
throws AdminException
ConfigurationAdmin
addUDF in interface ConfigurationAdminmodelFileContents - - UDF contentsclasspath - - classpath for the UDF
AdminExceptionConfigurationAdmin.addUDF(byte[], java.lang.String)
public void deleteUDF()
throws AdminException
ConfigurationAdmin
deleteUDF in interface ConfigurationAdminAdminExceptionConfigurationAdmin.deleteUDF()
public java.util.Properties getBootstrapProperties()
throws AdminException
ServerConfigAdmin
getBootstrapProperties in interface ServerConfigAdminAdminException
public byte[] getClusterKey()
throws AdminException
ServerConfigAdmin
getClusterKey in interface ServerConfigAdminAdminException
public boolean authenticateUser(java.lang.String username,
char[] credentials,
java.io.Serializable trustePayload,
java.lang.String applicationName)
throws AdminException
ServerSecurityAdmin
authenticateUser in interface ServerSecurityAdminauthenticateUser in interface SecurityAdminusername - the user name that is to be authenticatedapplicationName - the name of the application for which the user
is authenticating
AdminException
public java.util.List<java.lang.String> getDomainNames()
throws AdminException
ServerSecurityAdmin
getDomainNames in interface ServerSecurityAdmingetDomainNames in interface SecurityAdminAdminException
public java.util.Collection<Group> getGroupsForDomain(java.lang.String domainName)
throws AdminException
ServerSecurityAdminGroups for a given domain. The domain name must be an specified
exactly. See #getActiveDomainNames() for possible domain names.
getGroupsForDomain in interface ServerSecurityAdmingetGroupsForDomain in interface SecurityAdminAdminException
public java.util.Collection<Transaction> getTransactions()
throws AdminException
MonitoringAdmin
getTransactions in interface MonitoringAdminAdminException
public void terminateTransaction(java.lang.String transactionId,
java.lang.String sessionId)
throws AdminException
RuntimeStateAdmin
terminateTransaction in interface RuntimeStateAdminAdminException
public void terminateTransaction(javax.transaction.xa.Xid transactionId)
throws AdminException
RuntimeStateAdmin
terminateTransaction in interface RuntimeStateAdminAdminException
public java.util.Collection getServices(java.lang.String identifier)
throws AdminException
ServerMonitoringAdminHost | Process;
getServices in interface ServerMonitoringAdminService
AdminException - if there's a system error.
public java.util.Collection getConnectionPoolStats(java.lang.String identifier)
throws AdminException
MonitoringAdminConnectionPool represents an XA connection, there
will be 2 ConnectionPools.
getConnectionPoolStats in interface MonitoringAdminidentifier - - an identfier that corresponds to the ConnectorBinding that is
running in a process ConnectionPool
"*" - for all Connection Pools in the system
"name*" - for all the Connection Pools that begin with given name
"name" - for a single Connection Pool in the system
ConnectionPool
AdminException - if there's a system error.
public void extensionModuleModified(java.lang.String name)
throws AdminException
ConfigurationAdmin
extensionModuleModified in interface ConfigurationAdminAdminException
public void restart()
throws AdminException
RuntimeStateAdmin
restart in interface RuntimeStateAdminAdminException - if there's a system error.
public void setLogListener(EmbeddedLogger listener)
throws AdminException
ConfigurationAdmin
setLogListener in interface ConfigurationAdminlistener - The listener component
AdminException - if there's a system error.
public void shutdown(int millisToWait)
throws AdminException
RuntimeStateAdmin
shutdown in interface RuntimeStateAdminmillisToWait - Milliseconds to wait (if >0) or <=0 for no wait before stopping
AdminException
public void deleteVDB(java.lang.String vdbName,
java.lang.String version)
throws AdminException
ConfigurationAdmin
deleteVDB in interface ConfigurationAdminAdminException
public void setConnectorBindingProperty(java.lang.String deployedName,
java.lang.String propertyName,
java.lang.String propertyValue)
throws AdminException
ConfigurationAdmin
setConnectorBindingProperty in interface ConfigurationAdminAdminException
public java.util.Collection<PropertyDefinition> getConnectorTypePropertyDefinitions(java.lang.String connectorTypeIdentifier)
throws AdminException
MonitoringAdmin
getConnectorTypePropertyDefinitions in interface MonitoringAdminAdminException
public void setProcessProperty(java.lang.String processIdentifier,
java.lang.String propertyName,
java.lang.String propertyValue)
throws AdminException
ConfigurationAdmin
setProcessProperty in interface ConfigurationAdminprocessIdentifier - - identifier for the process where the property needs to be setpropertyName - - name of the propertypropertyValue - - value of the property
AdminException
public java.util.Collection<ConnectorBinding> getConnectorBindingsInVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
throws AdminException
MonitoringAdmin
getConnectorBindingsInVDB in interface MonitoringAdminvdbName - - Name of the VDBvdbVersion - - version of the VDB
ConnectorBinding
AdminException - if there's a system error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||