private String findManagedConnectionFactory ( String className , Connector connector ) { for ( org . ironjacamar . common . api . metadata . spec . ConnectionDefinition cd : connector . getResourceadapter ( ) . getOutboundResourceadapter ( ) . getConnectionDefinitions ( ) ) { if ( className . equals ( cd . getManagedConnectionFactoryClass ( ) . getValue ( ) ) || className . equals ( cd . getConnectionFactoryInterface ( ) . getValue ( ) ) ) return cd . getManagedConnectionFactoryClass ( ) . getValue ( ) ; } return className ; }
Find the ManagedConnectionFactory class