StorageManager storageManager = getStorageManagerHolder().getStorageManager(GroupStorage.class);
if (storageManager instanceof AbstractNameMapperAwareFactory)
{
((AbstractNameMapperAwareFactory<String>) storageManager)
.register(new BeanValidationGroupStorageNameMapper());
}
else
{
this.logger.warning(storageManager.getClass().getName() +
" has to implement AbstractNameMapperAwareFactory " + getClass().getName() +