Class CertPublisherFactoryRegister


  • public class CertPublisherFactoryRegister
    extends Object
    Register of CertPublisherFacotries.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • CertPublisherFactoryRegister

        public CertPublisherFactoryRegister()
    • Method Detail

      • canCreatePublisher

        public boolean canCreatePublisher​(String type)
        Whether publisher of given type can be created.
        Parameters:
        type - Type of the publisher. Must not be null.
        Returns:
        whether publisher of this type can be created.
      • newPublisher

        public CertPublisher newPublisher​(String type)
                                   throws org.xipki.util.exception.ObjectCreationException
        Create new publisher of given type.
        Parameters:
        type - Type of the publisher. Must not be null.
        Returns:
        new publisher.
        Throws:
        org.xipki.util.exception.ObjectCreationException - if publisher could not be created.
      • getSupportedTypes

        public Set<String> getSupportedTypes()
        Retrieves the types of supported publishers.
        Returns:
        lower-case types of supported publishers, never null.