@Override
protected CoreConfiguration<CRouting> wrapConfiguration(Object configuration)
throws ConfigurationException
{
if (configuration instanceof ApplicationConfiguration) {
return new CRoutingCoreConfiguration((ApplicationConfiguration) configuration);
}
else {
throw new ConfigurationException("The passed configuration object is of class \""
+ configuration.getClass().getName() + "\" and not the required \""
+ ApplicationConfiguration.class.getName() + "\"!");