org.apache.derby.impl.services.monitor
Class ProtocolKey

java.lang.Object
  extended by 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)
           
 
Method Summary
(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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

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

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.