Class SilverpeasJcrSchemaRegistering

  • All Implemented Interfaces:
    Initialization

    @Service
    public class SilverpeasJcrSchemaRegistering
    extends Object
    implements Initialization
    An initialization service whose aims is to register the Silverpeas specific schema into the JCR repository used by Silverpeas. The schema is registered only the first time the repository is spawned; it is no more loaded if it already exists in the underlying JCR repository.
    Author:
    mmoquillon
    • Constructor Detail

      • SilverpeasJcrSchemaRegistering

        public SilverpeasJcrSchemaRegistering()
    • Method Detail

      • init

        public void init()
                  throws Exception
        Description copied from interface: Initialization
        Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.
        Specified by:
        init in interface Initialization
        Throws:
        Exception - if an error occurs during the initialization process. In this case the Silverpeas startup fails.