| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.core; |
| | | import org.opends.messages.Message; |
| | |
| | | // Determine the initialization method to use: it must take a |
| | | // single parameter which is the exact type of the configuration |
| | | // object. |
| | | theClass.getMethod("initializeLogRetentionPolicy", config.definition() |
| | | .getServerConfigurationClass()); |
| | | theClass.getMethod("initializeLogRetentionPolicy", config |
| | | .configurationClass()); |
| | | } catch (Exception e) { |
| | | Message message = ERR_CONFIG_RETENTION_POLICY_INVALID_CLASS.get(className, |
| | | config.dn().toString(), |
| | |
| | | // Determine the initialization method to use: it must take a |
| | | // single parameter which is the exact type of the configuration |
| | | // object. |
| | | Method method = theClass.getMethod("initializeLogRetentionPolicy", |
| | | config.definition().getServerConfigurationClass()); |
| | | Method method = theClass.getMethod("initializeLogRetentionPolicy", config |
| | | .configurationClass()); |
| | | method.invoke(RetentionPolicy, config); |
| | | } |
| | | catch (InvocationTargetException ite) |