/** * Retrieves the XXX javabean properties with default values. * The javabean to introspect/retrieve is specified by the type. * The default values will be the values present in the ra.xml. If the * value is not present in ra.xxml, javabean is introspected to obtain * the default value present, if any. If intrspection fails or null is the * default value, empty string is returned. * If ra.xml has only the property and no value, empty string is the value * returned. * @param rarName rar module name * @return admin object javabean properties with * default values. * @throws ConnectorRuntimeException if property retrieval fails. */ public Properties getConnectorConfigJavaBeans(String rarName, String connectionDefName,String type) throws ConnectorRuntimeException { ConnectorDescriptor desc = getConnectorDescriptor(rarName); if(desc != null) { ConnectorConfigParser ccParser = ConnectorConfigParserFactory.getParser(type); return ccParser.getJavaBeanProps(desc,connectionDefName, rarName); } else { return null; } }