org.apache.manifoldcf.crawler.interfaces
Class RepositoryConnectorFactory.PoolKey

java.lang.Object
  extended by org.apache.manifoldcf.crawler.interfaces.RepositoryConnectorFactory.PoolKey
Enclosing class:
RepositoryConnectorFactory

public static class RepositoryConnectorFactory.PoolKey
extends java.lang.Object

This is an immutable pool key class, which describes a pool in terms of two independent keys.


Field Summary
protected  java.lang.String className
           
protected  ConfigParams configInfo
           
 
Constructor Summary
RepositoryConnectorFactory.PoolKey(java.lang.String className, ConfigParams configInfo)
           
RepositoryConnectorFactory.PoolKey(java.lang.String className, java.util.Map configInfo)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals operator.
 java.lang.String getClassName()
          Get the class name.
 ConfigParams getParams()
          Get the config info.
 int hashCode()
          Hash code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

protected java.lang.String className

configInfo

protected ConfigParams configInfo
Constructor Detail

RepositoryConnectorFactory.PoolKey

public RepositoryConnectorFactory.PoolKey(java.lang.String className,
                                          java.util.Map configInfo)
Constructor.


RepositoryConnectorFactory.PoolKey

public RepositoryConnectorFactory.PoolKey(java.lang.String className,
                                          ConfigParams configInfo)
Method Detail

getClassName

public java.lang.String getClassName()
Get the class name.

Returns:
the class name.

getParams

public ConfigParams getParams()
Get the config info.

Returns:
the params

hashCode

public int hashCode()
Hash code.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Equals operator.

Overrides:
equals in class java.lang.Object