Class ProtocolKey


  • class ProtocolKey
    extends java.lang.Object
    A class that represents a key for a module search.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Class<?> factoryInterface
      The class of the factory
      protected java.lang.String identifier
      name of module, can be null
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ProtocolKey​(java.lang.Class<?> factoryInterface, java.lang.String identifier)  
    • Field Detail

      • factoryInterface

        protected java.lang.Class<?> factoryInterface
        The class of the factory
      • identifier

        protected java.lang.String identifier
        name of module, can be null
    • Constructor Detail

      • ProtocolKey

        protected ProtocolKey​(java.lang.Class<?> factoryInterface,
                              java.lang.String identifier)
    • Method Detail

      • getFactoryInterface

        protected java.lang.Class<?> getFactoryInterface()
      • getIdentifier

        protected java.lang.String getIdentifier()
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object