if ( !(extResrc instanceof JdbcConnectionResource) ) {
throw new ResourceAccessException( "Expected external resource to be:"
+ JdbcConnectionResource.class, new Object[]{extResrc} );
}
final Connection conn = ((JdbcConnectionResource) extResrc).getConnection();
dict = new JdbcDictionaryImpl( conn, tableName, lookupFieldName );
} else if ( implType.equals( "csvImpl" ) ) {
final String fieldDelimiter = implEl.getAttributeValue( "delimiter" );
if ( !(extResrc instanceof FileResource) ) {
throw new ResourceAccessException( "Expected external resource to be:"
+ FileResource.class, new Object[]{extResrc} );