public static String[] getJarPaths( PlatformBroker platformBroker, TableDef tableDef )
{
Set<String> jars = new HashSet<String>();
String rootPath = platformBroker.getFullProviderPath();
ProviderDef protocolProvider = tableDef.getProtocolProvider();
if( protocolProvider != null && protocolProvider.getIdentifier() != null )
jars.add( platformBroker.makePath( rootPath, protocolProvider.getIdentifier() ) );
ProviderDef formatProvider = tableDef.getFormatProvider();
if( formatProvider != null && formatProvider.getIdentifier() != null )
jars.add( platformBroker.makePath( rootPath, formatProvider.getIdentifier() ) );
return jars.toArray( new String[ jars.size() ] );
}