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

java.lang.Object
  extended byorg.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()

equals

public boolean equals(java.lang.Object other)

toString

public java.lang.String toString()

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.