Class FragmentConfiguration

java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.webapp.FragmentConfiguration
All Implemented Interfaces:
Configuration

public class FragmentConfiguration extends AbstractConfiguration
FragmentConfiguration

Process web-fragments in jars

  • Field Details

  • Constructor Details

    • FragmentConfiguration

      public FragmentConfiguration()
  • Method Details

    • preConfigure

      public void preConfigure(WebAppContext context) throws 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:
      Exception - if unable to pre configure
    • postConfigure

      public void postConfigure(WebAppContext context) throws Exception
      Description copied from interface: Configuration
      Clear down after configuration.
      Specified by:
      postConfigure in interface Configuration
      Overrides:
      postConfigure in class AbstractConfiguration
      Parameters:
      context - The context to configure
      Throws:
      Exception - if unable to post configure
    • findWebFragments

      public void findWebFragments(WebAppContext context, MetaData metaData) throws 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:
      Exception - if unable to find web fragments
    • addWebFragments

      public void addWebFragments(WebAppContext context, MetaData metaData) throws Exception
      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:
      Exception - if unable to find web fragments