Class FragmentConfiguration

    • Field Detail


        public static final java.lang.String FRAGMENT_RESOURCES
        See Also:
        Constant Field Values
    • Constructor Detail

      • FragmentConfiguration

        public FragmentConfiguration()
    • 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. Calls to preConfigure may alter the Configurations configured on the WebAppContext, so long as configurations prior to this configuration are not altered.

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

        public void addWebFragments​(WebAppContext context,
                                    MetaData metaData)
                             throws java.lang.Exception
        Add in fragment descriptors that have already been discovered by MetaInfConfiguration
        context - the web app context to look in
        metaData - the metadata to populate with fragments
        java.lang.Exception - if unable to find web fragments