Class ProtocolKey
- java.lang.Object
-
- org.apache.derby.impl.services.monitor.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 factoryprotected 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static ProtocolKey
create(java.lang.String className, java.lang.String identifier)
boolean
equals(java.lang.Object other)
protected java.lang.Class<?>
getFactoryInterface()
protected java.lang.String
getIdentifier()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-