Class GuiceyBundleItemInfoImpl

    • Constructor Detail

      • GuiceyBundleItemInfoImpl

        public GuiceyBundleItemInfoImpl​(java.lang.Class<? extends GuiceyBundle> type)
      • GuiceyBundleItemInfoImpl

        public GuiceyBundleItemInfoImpl​(GuiceyBundle bundle)
    • Method Detail

      • isTransitive

        public boolean isTransitive()
        Description copied from interface: BundleItemInfo
        In case when bundle is registered multiple times, bundle will be transitive if all registrations were transitive. Reminder: bundle is registered by instance, but same instance may be registered multiple times. Also, deduplication mechanism could consider different instances as the same bundle (equal objects, by default).
        Specified by:
        isTransitive in interface BundleItemInfo<GuiceyBundle>
        Returns:
        true when bundle was registered only by some other bundle (and never directly)