@Override
    public Collection<TicketDefinition> findTicketImplementations(final Class<? extends Ticket> ticketClass) {
        val list = ticketMetadataMap.values()
            .stream()
            .sorted()
            .filter(t -> ticketClass.isAssignableFrom(t.getImplementationClass()))
            .collect(Collectors.toList());
        AnnotationAwareOrderComparator.sort(list);
        LOGGER.trace("Located all registered and known sorted ticket definitions [{}] that match [{}]", list, ticketClass);
        return list;
    }
This is {@link DefaultTicketCatalog}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/DefaultTicketCatalog.java