final Class<T> forName = ClassUtil.forName(className, getClass());
return forName.newInstance();
}
catch (final ClassNotFoundException e)
{
throw new SecurityServiceException("ClassNotFoundException while trying to create an impl of [" + className + "]", e);
}
catch (final InstantiationException e)
{
throw new SecurityServiceException("InstantiationException while trying to create an impl of [" + className + "]", e);
}
catch (final IllegalAccessException e)
{
throw new SecurityServiceException("IllegalAccess while trying to create an impl of [" + className + "]", e);
}
}