Class ComponentRegistryKey

java.lang.Object
org.apache.felix.scr.impl.ComponentRegistryKey

final class ComponentRegistryKey extends Object
The ComponentRegistryKey is used as the key in the component registry to register components by their names.

Two instances of this class are equal if they are the same or if there component name and bundle ID is equal.

  • Field Details

    • bundleId

      private final long bundleId
    • componentName

      private final String componentName
  • Constructor Details

    • ComponentRegistryKey

      ComponentRegistryKey(org.osgi.framework.Bundle bundle, String componentName)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getBundleId

      public long getBundleId()
    • getComponentName

      public String getComponentName()