|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.admin.server.AbstractAdminImpl
com.metamatrix.admin.server.ServerConfigAdminImpl
public class ServerConfigAdminImpl
Field Summary |
---|
Constructor Summary | |
---|---|
ServerConfigAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
|
Method Summary | |
---|---|
void |
addAuthorizationProvider(java.lang.String domainprovidername,
java.lang.String providertypename,
java.util.Properties properties)
|
void |
addConnectorArchive(byte[] contents,
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 connectorBindingName,
char[] xmlFile,
AdminOptions options)
Import a ConnectorBinding into the Configuration. |
ConnectorBinding |
addConnectorBinding(java.lang.String connectorBindingName,
java.lang.String connectorTypeIdentifier,
java.util.Properties properties,
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 hostIdentifer,
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 ConnectorBinding s 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 |
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 ConnectorBinding s 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 processIdentifier)
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 |
byte[] |
exportExtensionModule(java.lang.String identifier)
Export an ExtensionModule to byte array |
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 java.util.Collection |
getBindingNamesToUpdate(java.util.Collection existingBindings,
java.util.Collection newBindingNames,
AdminOptions options)
Check to see if any new connector bindings being added collide with existing bindings. |
java.util.Properties |
getBootstrapProperties()
Return the bootstrap properties used to configure initialize the system. |
byte[] |
getClusterKey()
Retrieves the cluster key that authenticates and secures intra-cluster communication. |
protected java.util.List<ConnectorBinding> |
getConnectorBindingsByName(java.lang.String[] bindingNames)
|
LogConfiguration |
getLogConfiguration()
Get the LogConfiguration |
protected java.util.Collection |
getModels(VirtualDatabaseID vdbId)
|
protected int |
getNodeCount(java.lang.String identifier)
Will return the number of nodes in an identifier based on the delimiter AdminObject.DELIMITER |
protected ServiceComponentDefn |
getServiceByID(ServiceComponentDefnID serviceID)
|
protected ServiceComponentDefn |
getServiceByName(java.lang.String serviceName)
|
protected java.util.Collection |
getVirtualDatabases()
|
void |
importConfiguration(char[] fileData)
Import the Configuration from a character array in XML format. |
protected void |
setConnectorBindingNames(VirtualDatabaseID vdbId,
java.util.Map mapModelsToConnBinds)
|
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 adminLogConfig)
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)
Supported classes are Host , ConnectorBinding ,
SystemObject , ProcessObject |
void |
setSystemProperty(java.lang.String propertyName,
java.lang.String propertyValue)
|
protected void |
setVDBState(VirtualDatabaseID vdbID,
int siState)
|
void |
updateProperties(java.lang.String identifier,
java.lang.String className,
java.util.Properties properties)
Supported classes are ConnectorBinding , Service ,
SystemObject , ProcessObject |
void |
updateSystemProperties(java.util.Properties properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerConfigAdminImpl(ServerAdminImpl parent, ClusteredRegistryState registry)
Method Detail |
---|
public ConnectorBinding addConnectorBinding(java.lang.String connectorBindingName, java.lang.String connectorTypeIdentifier, java.util.Properties properties, AdminOptions options) throws AdminException
ConfigurationAdmin
ConnectorBinding
to Configuration
addConnectorBinding
in interface ConfigurationAdmin
connectorBindingName
- is the Connector Binding name that will be added to ConfigurationconnectorTypeIdentifier
- Name of the Connector Typeproperties
- 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
ConfigurationAdmin.addConnectorBinding(java.lang.String, java.lang.String,
java.util.Properties, AdminOptions)
public ConnectorBinding addConnectorBinding(java.lang.String connectorBindingName, char[] xmlFile, AdminOptions options) throws AdminException
ConfigurationAdmin
ConnectorBinding
into the Configuration.
addConnectorBinding
in interface ConfigurationAdmin
connectorBindingName,
- is nullable, indicates the name to assign to the importing ConnectorBinding
.
If it is null, then the name defined in the xmlFile will be used.xmlFile
- is an xml formatted file that defines the connector binding
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 ConfigurationAdmin
name,
- is nullable, indicates the name to assign to the connector type
If name is null, then the name defined in the cdkFile will be used.
MetaMatrixComponentException
MetaMatrixProcessingException
AdminException
- if there's a system error.ConfigurationAdmin.addConnectorType(java.lang.String, char[])
public void addConnectorArchive(byte[] contents, AdminOptions options) throws AdminException
ConfigurationAdmin
addConnectorArchive
in interface ConfigurationAdmin
contents
- 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 addAuthorizationProvider(java.lang.String domainprovidername, java.lang.String providertypename, java.util.Properties properties) throws AdminException
addAuthorizationProvider
in interface ServerConfigAdmin
domainname
- is the name to be assigned to the newly created AuthenticationProvider
provdertypename
- is the type of provider to create.properties
- are the settings specified by the providertype to be used
AdminException
- if there's a system error.org.teiid.adminapi.ConfigurationAdmin#addAuthroizationProvider(String, String, Properties)
public void addExtensionModule(java.lang.String type, java.lang.String sourceName, byte[] source, java.lang.String description) throws AdminException
ConfigurationAdmin
ExtensionModule
to the end of the list of modules.
addExtensionModule
in interface ConfigurationAdmin
type
- 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 deleteExtensionModule(java.lang.String sourceName) throws AdminException
ConfigurationAdmin
ExtensionModule
from the list of modules.
deleteExtensionModule
in interface ConfigurationAdmin
sourceName
- name (e.g. filename) of extension module
AdminException
- if there's a system error.ConfigurationAdmin.deleteExtensionModule(java.lang.String)
public void addHost(java.lang.String hostIdentifer, java.util.Properties properties) throws AdminException
ServerConfigAdmin
addHost
in interface ServerConfigAdmin
hostIdentifer
- 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 ServerConfigAdmin
processIdentifier
- Process Identifiers is Host Name.Process Name e.g. "myhost.MetaMatrixProcess"
MetaMatrixComponentException
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
ConfigurationAdmin
VDB
file.
addVDB
in interface ConfigurationAdmin
name,
- is nullable, indicates the name to assign to the vdb
If name is null, then use the name defined in the vdbFile.
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 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
ServerConfigAdmin
This method requires that the VDB version exists in the system and that materialization model(s) have connector bindings bound to them.
generateMaterializationScripts
in interface ServerConfigAdmin
vdbName
- 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 disableHost(java.lang.String identifier) throws AdminException
ServerConfigAdmin
disableHost
in interface ServerConfigAdmin
AdminException
- if there's a system error.ServerConfigAdmin.disableHost(java.lang.String)
public void disableProcess(java.lang.String identifier) throws AdminException
ServerConfigAdmin
disableProcess
in interface ServerConfigAdmin
AdminException
- if there's a system error.ServerConfigAdmin.disableProcess(java.lang.String)
public void enableHost(java.lang.String identifier) throws AdminException
ServerConfigAdmin
enableHost
in interface ServerConfigAdmin
AdminException
- if there's a system error.ServerConfigAdmin.enableHost(java.lang.String)
public void enableProcess(java.lang.String identifier) throws AdminException
ServerConfigAdmin
enableProcess
in interface ServerConfigAdmin
AdminException
- if there's a system error.ServerConfigAdmin.enableProcess(java.lang.String)
public char[] exportConfiguration() throws AdminException
ConfigurationAdmin
exportConfiguration
in interface ConfigurationAdmin
AdminException
- if there's a system error.ConfigurationAdmin.exportConfiguration()
public void importConfiguration(char[] fileData) throws AdminException
ServerConfigAdmin
importConfiguration
in interface ServerConfigAdmin
fileData
- Contents of configuration file, in XML format, as exported by ConfigurationAdmin.exportConfiguration()
AdminException
- if there's a system error.org.teiid.adminapi.ConfigurationAdmin#importConfiguration(char[])
public char[] exportConnectorBinding(java.lang.String connectorBindingIdentifier) throws AdminException
ConfigurationAdmin
ConnectorBinding
to character Array in XML format
exportConnectorBinding
in interface ConfigurationAdmin
connectorBindingIdentifier
- 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 ConfigurationAdmin
connectorTypeIdentifier
- 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 ConfigurationAdmin
connectorTypeIdentifier
- 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 identifier) throws AdminException
ConfigurationAdmin
ExtensionModule
to byte array
exportExtensionModule
in interface ConfigurationAdmin
identifier
- unique identifier for the ExtensionModule
.
AdminException
ConfigurationAdmin.exportExtensionModule(java.lang.String)
public byte[] exportVDB(java.lang.String name, java.lang.String version) throws AdminException
ConfigurationAdmin
exportVDB
in interface ConfigurationAdmin
name
- identifier of the VDB
version
- VDB
version
AdminException
- if there's a system error.ConfigurationAdmin.exportVDB(java.lang.String, java.lang.String)
public LogConfiguration getLogConfiguration() throws AdminException
ConfigurationAdmin
LogConfiguration
getLogConfiguration
in interface ConfigurationAdmin
AdminException
- if there's a system error.ConfigurationAdmin.getLogConfiguration()
public void setLogConfiguration(LogConfiguration adminLogConfig) throws AdminException
ConfigurationAdmin
LogConfiguration
in the MetaMatrix Server
setLogConfiguration
in interface ConfigurationAdmin
AdminException
- if there's a system error.ConfigurationAdmin.setLogConfiguration(org.teiid.adminapi.LogConfiguration)
public void setSystemProperty(java.lang.String propertyName, java.lang.String propertyValue) throws AdminException
AdminException
com.metamatrix.admin.api.server.ServerConfigAdmin#setSystemProperty(java.lang.String, java.lang.String)
public void updateSystemProperties(java.util.Properties properties) throws AdminException
AdminException
org.teiid.adminapi.ConfigurationAdmin#updateSystemProperties(java.util.Properties)
public void setProperty(java.lang.String identifier, java.lang.String className, java.lang.String propertyName, java.lang.String propertyValue) throws AdminException
Host
, ConnectorBinding
,
SystemObject
, ProcessObject
AdminException
com.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
ConnectorBinding
, Service
,
SystemObject
, ProcessObject
AdminException
org.teiid.adminapi.ConfigurationAdmin#updateProperties(java.lang.String, java.lang.String, java.util.Properties)
protected java.util.List<ConnectorBinding> getConnectorBindingsByName(java.lang.String[] bindingNames) throws ConfigurationException, ServiceException, AdminProcessingException
ConfigurationException
ServiceException
AdminProcessingException
public void assignBindingToModel(java.lang.String connectorBindingName, java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws AdminException
ConfigurationAdmin
ConnectorBinding
to a VDB
's Model
assignBindingToModel
in interface ConfigurationAdmin
connectorBindingName
- 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
ServerConfigAdmin
ConnectorBinding
from a VDB
's Model
deassignBindingFromModel
in interface ServerConfigAdmin
connectorBindingName
- 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#deassignBindingFromModel(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
ServerConfigAdmin
ConnectorBinding
s 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 ServerConfigAdmin
assignBindingsToModel
in interface ConfigurationAdmin
connectorBindingNames
- 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.ConfigurationAdmin.assignBindingsToModel(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
ServerConfigAdmin
ConnectorBinding
s from a VDB
's Model. Any of the supplied array of
bindings are deassigned from the supplied model.
deassignBindingsFromModel
in interface ServerConfigAdmin
connectorBindingNames
- 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#deassignBindingFromModel(String[], java.lang.String, java.lang.String, java.lang.String)
protected java.util.Collection getVirtualDatabases() throws VirtualDatabaseException
VirtualDatabaseException
protected java.util.Collection getModels(VirtualDatabaseID vdbId) throws VirtualDatabaseException
VirtualDatabaseException
protected void setConnectorBindingNames(VirtualDatabaseID vdbId, java.util.Map mapModelsToConnBinds) throws VirtualDatabaseException
VirtualDatabaseException
protected void setVDBState(VirtualDatabaseID vdbID, int siState) throws VirtualDatabaseException
VirtualDatabaseException
public void deleteConnectorBinding(java.lang.String connectorBindingIdentifier) throws AdminException
ConfigurationAdmin
ConnectorBinding
from the Configuration
deleteConnectorBinding
in interface ConfigurationAdmin
AdminException
- if there's a system error.ConfigurationAdmin.deleteConnectorBinding(java.lang.String)
public void deleteConnectorType(java.lang.String name) throws AdminException
ConfigurationAdmin
deleteConnectorType
in interface ConfigurationAdmin
name
- String name of the Connector Type to delete
AdminException
- if there's a system error.ConfigurationAdmin.deleteConnectorType(java.lang.String)
public void deleteHost(java.lang.String identifier) throws AdminException
ServerConfigAdmin
Note 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 ServerConfigAdmin
AdminException
- if there's a system error.ServerConfigAdmin.deleteHost(java.lang.String)
public void deleteProcess(java.lang.String processIdentifier) throws AdminException
ServerConfigAdmin
Note 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 ServerConfigAdmin
processIdentifier
- Process Identifer
AdminException
- if there's a system error.ServerConfigAdmin.deleteProcess(java.lang.String)
protected ServiceComponentDefn getServiceByName(java.lang.String serviceName) throws ConfigurationException, InvalidSessionException, AuthorizationException, MetaMatrixComponentException
ConfigurationException
InvalidSessionException
AuthorizationException
MetaMatrixComponentException
protected ServiceComponentDefn getServiceByID(ServiceComponentDefnID serviceID) throws InvalidSessionException, AuthorizationException, ConfigurationException, MetaMatrixComponentException
InvalidSessionException
AuthorizationException
ConfigurationException
MetaMatrixComponentException
protected java.util.Collection getBindingNamesToUpdate(java.util.Collection existingBindings, java.util.Collection newBindingNames, AdminOptions options) throws AdminException
existingBindings
- Collection of ConnectorBinding that already exist in the
system. Their names are used to determine collision with new binding names.newBindingNames
- options
- One of the AdminOptions.OnConflict
options.
AdminException
protected int getNodeCount(java.lang.String identifier)
AdminObject.DELIMITER
identifier
-
public void addUDF(byte[] modelFileContents, java.lang.String classpath) throws AdminException
ConfigurationAdmin
addUDF
in interface ConfigurationAdmin
modelFileContents
- - UDF contentsclasspath
- - classpath for the UDF
AdminException
ConfigurationAdmin.addUDF(byte[], java.lang.String)
public void deleteUDF() throws AdminException
ConfigurationAdmin
deleteUDF
in interface ConfigurationAdmin
AdminException
ConfigurationAdmin.deleteUDF()
public java.util.Properties getBootstrapProperties() throws AdminException
ServerConfigAdmin
getBootstrapProperties
in interface ServerConfigAdmin
AdminException
public byte[] getClusterKey() throws AdminException
ServerConfigAdmin
getClusterKey
in interface ServerConfigAdmin
AdminException
public void extensionModuleModified(java.lang.String name) throws AdminException
ConfigurationAdmin
extensionModuleModified
in interface ConfigurationAdmin
AdminException
public void deleteVDB(java.lang.String vdbName, java.lang.String version) throws AdminException
ConfigurationAdmin
deleteVDB
in interface ConfigurationAdmin
AdminException
public void setConnectorBindingProperty(java.lang.String deployedName, java.lang.String propertyName, java.lang.String propertyValue) throws AdminException
ConfigurationAdmin
setConnectorBindingProperty
in interface ConfigurationAdmin
AdminException
public void setLogListener(EmbeddedLogger listener) throws AdminException
ConfigurationAdmin
setLogListener
in interface ConfigurationAdmin
listener
- The listener component
AdminException
- if there's a system error.public void setProcessProperty(java.lang.String processIdentifier, java.lang.String propertyName, java.lang.String propertyValue) throws AdminException
ConfigurationAdmin
setProcessProperty
in interface ConfigurationAdmin
processIdentifier
- - identifier for the process where the property needs to be setpropertyName
- - name of the propertypropertyValue
- - value of the property
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |