public class AdminObjectConfigParserImpl extends Object implements AdminObjectConfigParser
AOR, configParserUtil, ddTransformUtil, MCF, MSL, RA| Constructor and Description |
|---|
AdminObjectConfigParserImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAdminObjectClassNames(ConnectorDescriptor desc,
String intfName)
gets the adminObjectClassNames pertaining to a rar & a specific
adminObjectInterfaceName
|
String[] |
getAdminObjectInterfaceNames(ConnectorDescriptor desc)
gets the adminObjectInterfaceNames pertaining to a rar.
|
List<String> |
getConfidentialProperties(ConnectorDescriptor desc,
String rarName,
String... keyFields)
Gi
|
Properties |
getJavaBeanProps(ConnectorDescriptor desc,
String adminObjectInterface,
String rarName)
Parses the ra.xml for the admin object javabean properties.
|
Properties |
getJavaBeanProps(ConnectorDescriptor desc,
String adminObjectInterface,
String adminObjectClass,
String rarName)
Parses the ra.xml for the admin object javabean properties.
|
boolean |
hasAdminObject(ConnectorDescriptor desc,
String intfName,
String className)
Checks whether the provided interfacename and classname combination
is present in any of the admin objects for the resource-adapter
|
public AdminObjectConfigParserImpl()
public Properties getJavaBeanProps(ConnectorDescriptor desc, String adminObjectInterface, String rarName) throws ConnectorRuntimeException
getJavaBeanProps in interface ConnectorConfigParserdesc - ConnectorDescriptor pertaining to rar.adminObjectInterface - AdminObject interfaceConnectorRuntimeException - if either of the parameters are null.
If corresponding rar is not deployed i.e moduleDir is invalid.
If no admin object intercface is found in ra.xmlpublic Properties getJavaBeanProps(ConnectorDescriptor desc, String adminObjectInterface, String adminObjectClass, String rarName) throws ConnectorRuntimeException
getJavaBeanProps in interface AdminObjectConfigParserdesc - ConnectorDescriptor pertaining to rar.adminObjectInterface - AdminObject interfaceadminObjectClass - AdminObject classrarName - resource-adapter-nameConnectorRuntimeException - if either of the parameters are null.
If corresponding rar is not deployed i.e moduleDir is invalid.
If no admin object intercface is found in ra.xmlpublic String[] getAdminObjectInterfaceNames(ConnectorDescriptor desc) throws ConnectorRuntimeException
getAdminObjectInterfaceNames in interface AdminObjectConfigParserdesc - ConnectorDescriptor pertaining to rar.ConnectorRuntimeException - if parsing failspublic String[] getAdminObjectClassNames(ConnectorDescriptor desc, String intfName) throws ConnectorRuntimeException
getAdminObjectClassNames in interface AdminObjectConfigParserdesc - ConnectorDescriptor pertaining to rar.intfName - admin-object-interface nameConnectorRuntimeException - if parsing failspublic boolean hasAdminObject(ConnectorDescriptor desc, String intfName, String className) throws ConnectorRuntimeException
hasAdminObject in interface AdminObjectConfigParserdesc - ConnectorDescriptor pertaining to rar.intfName - interface-nameclassName - class-nameConnectorRuntimeException - If rar is not exploded or
incorrect ra.xmlpublic List<String> getConfidentialProperties(ConnectorDescriptor desc, String rarName, String... keyFields) throws ConnectorRuntimeException
ConnectorConfigParsergetConfidentialProperties in interface ConnectorConfigParserConnectorRuntimeExceptionCopyright © 2019. All rights reserved.