Class Hk2LocatorUtilities


  • public class Hk2LocatorUtilities
    extends java.lang.Object
    This is a utility class specific to this implementation of the hk2 API
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Filter getNoInitialServicesFilter()
      Returns a filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NO_INITIAL_SERVICES_FILTER

        private static final Filter NO_INITIAL_SERVICES_FILTER
    • Constructor Detail

      • Hk2LocatorUtilities

        public Hk2LocatorUtilities()
    • Method Detail

      • getNoInitialServicesFilter

        public static Filter getNoInitialServicesFilter()
        Returns a filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2. This filter is guaranteed to work properly for all versions of this implementation of hk2
        Returns:
        A Filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2