Class AbstractFeatureConfigurator<T>

java.lang.Object
org.glassfish.jersey.internal.AbstractServiceFinderConfigurator<T>
org.glassfish.jersey.AbstractFeatureConfigurator<T>
All Implemented Interfaces:
BootstrapConfigurator
Direct Known Subclasses:
DynamicFeatureConfigurator, FeatureConfigurator

public abstract class AbstractFeatureConfigurator<T> extends AbstractServiceFinderConfigurator<T>
  • Constructor Details

    • AbstractFeatureConfigurator

      protected AbstractFeatureConfigurator(Class contract, RuntimeType runtimeType)
      Create a new configurator.
      Parameters:
      contract - contract of the service providers bound by this binder.
      runtimeType - runtime (client or server) where the service finder binder is used.
  • Method Details

    • loadImplementations

      protected List<Class<T>> loadImplementations(Map<String,Object> applicationProperties, ClassLoader loader)
      Specification specific implementation which allows find classes by specified classloader
      Parameters:
      applicationProperties - map of properties to check if search is allowed
      loader - specific classloader (must not be NULL)
      Returns:
      list of found classes
    • registerFeatures

      protected void registerFeatures(Collection<Class<T>> features, BootstrapBag bootstrapBag)
      Allows feature registration as part of autoDiscoverables list
      Parameters:
      features - list of features to be registered
      bootstrapBag - place where features are being registered