public static final <L extends Listener> LiveResourceRegistration of( final Class<L> type, final String name) { return of(type, Unsafe.cast(type, Resources.forName(name))); }