public class ConnectorConfigParserUtils extends Object
| Constructor and Description |
|---|
ConnectorConfigParserUtils()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
introspectJavaBean(Object javaBeanInstance,
Set ddPropsSet)
Introspects the javabean and returns only the introspected properties
not present in the configuration in ra.xml for the corresponding
javabean.
|
Properties |
introspectJavaBean(String className,
Set ddPropsSet) |
Properties |
introspectJavaBean(String className,
Set ddPropsSet,
boolean associateResourceAdapter,
String resourceAdapterName) |
Properties |
introspectJavaBeanReturnTypes(String className,
Set ddPropsSet,
String rarName)
Introspects the javabean and returns only the introspected properties
and their datatypes not present in the configuration in ra.xml for
the corresponding javabean.
|
Properties |
mergeProps(Set ddVals,
Properties introspectedVals)
Merges the properties obtained by introspecting the javabean and the
properties present in ra.xml for the corresponding javabean.
|
Properties |
mergePropsReturnTypes(Set ddVals,
Properties introspectedVals)
Merges the datatype of properties obtained by introspecting the
javabean and the datatypes of properties present in ra.xml for
the corresponding javabean.
|
public ConnectorConfigParserUtils()
public Properties mergeProps(Set ddVals, Properties introspectedVals)
ddVals - Properties obtained from ra.xml for the javabeanintrospectedVals - Properties obtained by introspecting javabeanpublic Properties mergePropsReturnTypes(Set ddVals, Properties introspectedVals)
ddVals - Properties obtained from ra.xml for the javabeanintrospectedVals - Properties obtained by
introspecting javabean which consist of property name as key
and datatype as the value.public Properties introspectJavaBean(String className, Set ddPropsSet) throws ConnectorRuntimeException
ConnectorRuntimeExceptionpublic Properties introspectJavaBean(String className, Set ddPropsSet, boolean associateResourceAdapter, String resourceAdapterName) throws ConnectorRuntimeException
ConnectorRuntimeExceptionpublic Properties introspectJavaBean(Object javaBeanInstance, Set ddPropsSet) throws ConnectorRuntimeException
javaBeanInstance - beanddPropsSet - Set of Properties present in configuration in ra.xml for
the corresponding javabean.ConnectorRuntimeException - if the Class could not be loaded
or instantiated.public Properties introspectJavaBeanReturnTypes(String className, Set ddPropsSet, String rarName) throws ConnectorRuntimeException
className - Name of the class to be introspected.ddPropsSet - Set of Properties present in configuration in ra.xml for
the corresponding javabean.ConnectorRuntimeException - if the Class could not be loadedCopyright © 2017. All rights reserved.