private boolean isJavaClassAcceptable(ErrorLogPublisherCfg config,
List<Message> unacceptableReasons)
{
String className = config.getJavaClass();
ErrorLogPublisherCfgDefn d = ErrorLogPublisherCfgDefn.getInstance();
ClassPropertyDefinition pd =
d.getJavaClassPropertyDefinition();
// Load the class and cast it to a DebugLogPublisher.
ErrorLogPublisher publisher = null;
Class<? extends ErrorLogPublisher> theClass;
try {
theClass = pd.loadClass(className, ErrorLogPublisher.class);