@Override
    public void registerSerializableClass(final Class clazz, final Integer order) {
        LOGGER.trace("Registering serializable class [{}] with order [{}]", clazz.getName(), order);
        this.registeredClasses.add(Pair.of(clazz, order));
    }
This is {@link DefaultComponentSerializationPlan}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/serialization/DefaultComponentSerializationPlan.java