Class PlusConfiguration

    • Constructor Detail

      • PlusConfiguration

        public PlusConfiguration()
    • Method Detail

      • preConfigure

        public void preConfigure​(WebAppContext context)
                          throws java.lang.Exception
        Description copied from interface: Configuration
        Set up for configuration.

        Typically this step discovers configuration resources

        Specified by:
        preConfigure in interface Configuration
        Overrides:
        preConfigure in class AbstractConfiguration
        Parameters:
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to pre configure
      • cloneConfigure

        public void cloneConfigure​(WebAppContext template,
                                   WebAppContext context)
                            throws java.lang.Exception
        Description copied from interface: Configuration
        Clone configuration instance.

        Configure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.

        Specified by:
        cloneConfigure in interface Configuration
        Overrides:
        cloneConfigure in class AbstractConfiguration
        Parameters:
        template - The template context
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to clone
      • deconfigure

        public void deconfigure​(WebAppContext context)
                         throws java.lang.Exception
        Description copied from interface: Configuration
        DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle
        Specified by:
        deconfigure in interface Configuration
        Overrides:
        deconfigure in class AbstractConfiguration
        Parameters:
        context - The context to configure
        Throws:
        java.lang.Exception - if unable to deconfigure
      • bindUserTransaction

        public void bindUserTransaction​(WebAppContext context)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • lockCompEnv

        protected void lockCompEnv​(WebAppContext wac)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • unlockCompEnv

        protected void unlockCompEnv​(WebAppContext wac)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception