Class DomainTypeRegistry


  • @Singleton
    public class DomainTypeRegistry
    extends Object
    Register of all domain types available into Silverpeas.

    By default, DomainType.LDAP and DomainType.SQL are already registered.

    • Method Detail

      • setupDefaults

        @PostConstruct
        protected void setupDefaults()
      • add

        public void add​(DomainType type)
        Adds a domain type into registry.
        Parameters:
        type - the domain type.
      • exists

        public boolean exists​(DomainType type)
        Indicates if a domain type is registered.
        Parameters:
        type - a domain type.
        Returns:
        true if registered, false otherwise.