List<Message> unacceptableReasons)
{
String className = configuration.getJavaClass();
SynchronizationProviderCfgDefn d =
SynchronizationProviderCfgDefn.getInstance();
ClassPropertyDefinition pd =
d.getJavaClassPropertyDefinition();
// Load the class and cast it to a synchronizationProvider.
SynchronizationProvider provider = null;
Class<? extends SynchronizationProvider> theClass;
try
{
theClass = pd.loadClass(className, SynchronizationProvider.class);
provider = theClass.newInstance();
} catch (Exception e)
{
// Handle the exception: put a message in the unacceptable reasons.
Message message = ERR_CONFIG_SYNCH_UNABLE_TO_LOAD_PROVIDER_CLASS.get(