Interface Store<T>

  • Type Parameters:
    T - the object type stored.
    All Known Subinterfaces:
    PKIXCertStore<T>, PKIXCRLStore<T>
    All Known Implementing Classes:
    CollectionStore, X509Store

    public interface Store<T>
    A generic interface describing a simple store of objects.
    • Method Detail

      • getMatches

        Collection<T> getMatches​(Selector<T> selector)
                          throws StoreException
        Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
        Parameters:
        selector - the selector defining the match criteria.
        Returns:
        a collection of matching objects, empty if none available.
        Throws:
        StoreException - if there is a failure during matching.