public class MCFConfigParserImpl extends Object implements MCFConfigParser
AOR, configParserUtil, ddTransformUtil, MCF, MSL, RA
Constructor and Description |
---|
MCFConfigParserImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getConfidentialProperties(ConnectorDescriptor desc,
String rarName,
String... keyFields)
Gi
|
String[] |
getConnectionDefinitionNames(ConnectorDescriptor desc)
Obtains the connection definition names of a given rar.
|
Properties |
getJavaBeanProps(ConnectorDescriptor desc,
String connectionDefName,
String rarName)
Parses the ra.xml for the managed connection factory javabean
properties.
|
public String[] getConnectionDefinitionNames(ConnectorDescriptor desc) throws ConnectorRuntimeException
MCFConfigParser
getConnectionDefinitionNames
in interface MCFConfigParser
desc
- ConnectorDescriptor pertaining to rar.ConnectorRuntimeException
- If rar is not exploded or
incorrect ra.xmlpublic Properties getJavaBeanProps(ConnectorDescriptor desc, String connectionDefName, String rarName) throws ConnectorRuntimeException
getJavaBeanProps
in interface ConnectorConfigParser
desc
- ConnectorDescriptor pertaining to rar.connectionDefName
- connection definition name which is unique
across all the ConnectorRuntimeException
- if either of the parameters are null.
If corresponding rar is not deployed i.e moduleDir is invalid.
If no connection definition name is found in ra.xmlpublic List<String> getConfidentialProperties(ConnectorDescriptor desc, String rarName, String... keyFields) throws ConnectorRuntimeException
ConnectorConfigParser
getConfidentialProperties
in interface ConnectorConfigParser
ConnectorRuntimeException
Copyright © 2019. All rights reserved.