Class AppExtension

    • Constructor Detail

      • AppExtension

        public AppExtension()
    • Method Detail

      • getName

        public abstract java.lang.String getName()
      • start

        public final void start​(java.io.File configFile)
                         throws java.lang.Exception
        Specified by:
        start in interface IAppExtension
        Throws:
        java.lang.Exception
      • stop

        public final void stop()
                        throws java.lang.Exception
        Specified by:
        stop in interface IAppExtension
        Throws:
        java.lang.Exception
      • start

        public void start​(IRepository[] repositories,
                          java.io.File configFile)
                   throws java.lang.Exception
        Specified by:
        start in interface IAppExtension3
        Throws:
        java.lang.Exception
      • stop

        public void stop​(IRepository[] repositories)
                  throws java.lang.Exception
        Specified by:
        stop in interface IAppExtension3
        Throws:
        java.lang.Exception
      • start

        protected abstract void start​(InternalRepository repository,
                                      org.w3c.dom.Element repositoryConfig)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        protected abstract void stop​(InternalRepository repository)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDocument

        protected org.w3c.dom.Document getDocument​(java.io.File configFile)
                                            throws javax.xml.parsers.ParserConfigurationException,
                                                   org.xml.sax.SAXException,
                                                   java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException