Class Hk2BridgeImpl

    • Field Detail

      • filter

        private Filter filter
      • mirroredDescriptors

        private java.util.List<ActiveDescriptor<?>> mirroredDescriptors
      • EMPTY_LIST

        private static final java.util.List<java.lang.Long> EMPTY_LIST
    • Constructor Detail

      • Hk2BridgeImpl

        @Inject
        private Hk2BridgeImpl​(ServiceLocator local)
    • Method Detail

      • handleChange

        private void handleChange​(java.util.List<ActiveDescriptor<?>> newDescriptors)
      • configurationChanged

        public void configurationChanged()
        Description copied from interface: DynamicConfigurationListener
        This method is called when the set of descriptors in this service locator has been changed. Changes to parent service locators descriptors will not be reported. These services are called back on the thread doing the DynamicConfiguration.commit() so care should be taken to do any work quickly. Any exception thrown from this method will be ignored. A commit that failed will not be reported to this method
        Specified by:
        configurationChanged in interface DynamicConfigurationListener
      • preDestroy

        @PreDestroy
        private void preDestroy()
      • getMetadataLongsSet

        private static java.util.Set<java.lang.Long> getMetadataLongsSet​(Descriptor d,
                                                                         java.lang.String field)
        Gets all of the longs encoded into this descriptors metadata field
        Parameters:
        d -
        field -
        Returns:
      • getMetadataLongsList

        private static java.util.List<java.lang.Long> getMetadataLongsList​(Descriptor d,
                                                                           java.lang.String field)
        Gets all of the longs encoded into this descriptors metadata field
        Parameters:
        d -
        field -
        Returns: