Class ProtocolKey
- java.lang.Object
-
- org.apache.derby.impl.services.monitor.ProtocolKey
-
class ProtocolKey extends java.lang.ObjectA class that represents a key for a module search.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>factoryInterfaceThe class of the factoryprotected java.lang.Stringidentifiername of module, can be null
-
Constructor Summary
Constructors Modifier Constructor Description protectedProtocolKey(java.lang.Class<?> factoryInterface, java.lang.String identifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static ProtocolKeycreate(java.lang.String className, java.lang.String identifier)booleanequals(java.lang.Object other)protected java.lang.Class<?>getFactoryInterface()protected java.lang.StringgetIdentifier()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
create
static ProtocolKey create(java.lang.String className, java.lang.String identifier) throws StandardException
- Throws:
StandardException
-
getFactoryInterface
protected java.lang.Class<?> getFactoryInterface()
-
getIdentifier
protected java.lang.String getIdentifier()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-