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 org.xipki.ca.api.publisher.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.
      • bindService

        public void bindService​(org.xipki.ca.api.publisher.CertPublisherFactory service)
      • registFactory

        public void registFactory​(org.xipki.ca.api.publisher.CertPublisherFactory factory)
      • unbindService

        public void unbindService​(org.xipki.ca.api.publisher.CertPublisherFactory service)
      • unregistFactory

        public void unregistFactory​(org.xipki.ca.api.publisher.CertPublisherFactory factory)