private boolean isJavaClassAcceptable(AccessLogPublisherCfg config,
List<Message> unacceptableReasons)
{
String className = config.getJavaClass();
AccessLogPublisherCfgDefn d = AccessLogPublisherCfgDefn.getInstance();
ClassPropertyDefinition pd =
d.getJavaClassPropertyDefinition();
// Load the class and cast it to a DebugLogPublisher.
AccessLogPublisher<?> publisher = null;
Class<? extends AccessLogPublisher> theClass;
try {
theClass = pd.loadClass(className, AccessLogPublisher.class);
publisher = theClass.newInstance();
} catch (Exception e) {
Message message = ERR_CONFIG_LOGGER_INVALID_ACCESS_LOGGER_CLASS.get(
className,
config.dn().toString(),