org.apache.derby.impl.services.monitor
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 |
protected java.lang.Class |
factoryInterface
The class of the factory |
protected java.lang.String |
identifier
name of module, can be null |
Constructor Summary |
protected |
ProtocolKey(java.lang.Class factoryInterface,
java.lang.String identifier)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
factoryInterface
protected java.lang.Class factoryInterface
- The class of the factory
identifier
protected java.lang.String identifier
- name of module, can be null
ProtocolKey
protected ProtocolKey(java.lang.Class factoryInterface,
java.lang.String identifier)
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 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
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.