Class FragmentConfiguration

  • All Implemented Interfaces:
    Configuration

    @Deprecated(since="2021-05-27")
    public class FragmentConfiguration
    extends AbstractConfiguration
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    FragmentConfiguration

    Process web-fragments in jars

    • Field Detail

      • FRAGMENT_RESOURCES

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

      • FragmentConfiguration

        public FragmentConfiguration()
        Deprecated.
    • Method Detail

      • preConfigure

        public void preConfigure​(WebAppContext context)
                          throws java.lang.Exception
        Deprecated.
        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
      • findWebFragments

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

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