@SafeVarargs
    static <T> BeanContainer<T> of(final T... entries) {
        return new ListBeanContainer<>(Arrays.stream(entries).collect(Collectors.toList()));
    }
To list container bean.

@param <T>     the type parameter
@param entries the entries
@return the container bean
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/beans/BeanContainer.java