|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@RolesAllowed(value="Admin.SystemAdmin") public interface ServerConfigAdmin
Interface that exposes MetaMatrix server configuration for administration.
Clients should not code directly to this interface but should instead use ServerAdmin
.
Method Summary | |
---|---|
void |
addAuthorizationProvider(java.lang.String domainprovidername,
java.lang.String providertypename,
java.util.Properties properties)
|
void |
addHost(java.lang.String hostIdentifier,
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 |
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 |
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 |
deleteHost(java.lang.String identifier)
Delete Host in Configuration |
void |
deleteProcess(java.lang.String identifier)
Delete Process in Configuration |
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 hostIdentifier)
Enable Host in Configuration |
void |
enableProcess(java.lang.String identifier)
Enable Process in Configuration |
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. |
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. |
java.util.Collection |
getConnectorBindingsToConfigure(java.lang.String resourceIdentfier)
Get the ConnectorBindings that correspond to the specified identifir pattern. |
java.util.Collection |
getServicesToConfigure(java.lang.String resourceIdentfier)
Get the Services that correspond to the specified identifier pattern. |
void |
importConfiguration(char[] fileData)
Import the Configuration from a character array in XML format. |
Methods inherited from interface com.metamatrix.admin.api.core.CoreConfigAdmin |
---|
addConnectorArchive, addConnectorBinding, addConnectorBinding, addConnectorType, addExtensionModule, addUDF, addVDB, assignBindingToModel, deleteConnectorBinding, deleteConnectorType, deleteExtensionModule, deleteUDF, exportConfiguration, exportConnectorArchive, exportConnectorBinding, exportConnectorType, exportExtensionModule, exportVDB, getLogConfiguration, setLogConfiguration, setProperty, setSystemProperty, updateProperties, updateSystemProperties |
Method Detail |
---|
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
This method requires that the VDB version exists in the system and that materialization model(s) have connector bindings bound to them.
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.void addHost(java.lang.String hostIdentifier, java.util.Properties properties) throws AdminException
hostIdentifier
- Name of Host
to addproperties
- name,value
AdminException
- if there's a system error.void enableHost(java.lang.String hostIdentifier) throws AdminException
hostIdentifier
-
AdminException
- if there's a system error.void disableHost(java.lang.String identifier) throws AdminException
identifier
-
AdminException
- if there's a system error.void deleteHost(java.lang.String identifier) throws AdminException
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.
identifier
-
AdminException
- if there's a system error.void deleteProcess(java.lang.String identifier) throws AdminException
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.
identifier
- Process Identifer
AdminException
- if there's a system error.void enableProcess(java.lang.String identifier) throws AdminException
identifier
-
AdminException
- if there's a system error.void disableProcess(java.lang.String identifier) throws AdminException
identifier
-
AdminException
- if there's a system error.void addProcess(java.lang.String processIdentifier, java.util.Properties properties) throws AdminException
processIdentifier
- Process Identifiers is Host Name.Process Name e.g. "myhost.MetaMatrixProcess"properties
-
AdminException
- if there's a system error.void importConfiguration(char[] fileData) throws AdminException
fileData
- Contents of configuration file, in XML format, as exported by CoreConfigAdmin.exportConfiguration()
AdminException
- if there's a system error.void deassignBindingFromModel(java.lang.String connectorBindingName, java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws AdminException
ConnectorBinding
from a VDB
's Model
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.void assignBindingsToModel(java.lang.String[] connectorBindingNames, java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws AdminException
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.
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.void deassignBindingsFromModel(java.lang.String[] connectorBindingNames, java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws AdminException
ConnectorBinding
s from a VDB
's Model. Any of the supplied array of
bindings are deassigned from the supplied model.
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.void addAuthorizationProvider(java.lang.String domainprovidername, java.lang.String providertypename, java.util.Properties properties) throws AdminException
domainprovidername
- is the name to be assigned to the newly created AuthenticationProvider
providertypename
- 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.java.util.Properties getBootstrapProperties() throws AdminException
AdminException
byte[] getClusterKey() throws AdminException
AdminException
java.util.Collection getServicesToConfigure(java.lang.String resourceIdentfier) throws AdminException
ServerMonitoringAdmin.getServices(String)
resourceIdentifier
- the unique identifier for for a Service
in the system or "WILDCARD
"
if all Services are desired.
NOTE: The Service
is used for both monitoring and configuration. For a Service returned as part of configuration,
the State will not be applicable. To find the state of a current running instance, call ServerMonitoringAdmin.getServices(String)
Service
AdminException
- if there's a system error.java.util.Collection getConnectorBindingsToConfigure(java.lang.String resourceIdentfier) throws AdminException
CoreMonitoringAdmin.getConnectorBindings(String)
resourceIdentifier
- the unique identifier for for a ConnectorBinding
in the system or "WILDCARD
"
if all Services are desired.
NOTE: The ConnectorBinding
is used for both monitoring and configuration. For a Service returned as part of configuration,
the State will not be applicable. To find the state of a current running instance, call ServerMonitoringAdmin#getConnectorBinding(String)
ConnectorBinding
AdminException
- if there's a system error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |