Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.util
Class SimpleResourceRegistry.RegistryKey

java.lang.Object
  extended by com.tangosol.util.SimpleResourceRegistry.RegistryKey

Enclosing class:
SimpleResourceRegistry

protected class SimpleResourceRegistry.RegistryKey
extends java.lang.Object

Key class for a registered resource.


Constructor Summary
SimpleResourceRegistry.RegistryKey(java.lang.Class clz)
          Construct a SimpleResourceRegistry.RegistryKey.
SimpleResourceRegistry.RegistryKey(java.lang.Class clz, java.lang.String sName)
          Construct a SimpleResourceRegistry.RegistryKey.

 

Method Summary
 boolean equals(java.lang.Object o)
          
 java.lang.String getName()
          Return the resource name.
 java.lang.Class getResourceClass()
          Return the resource class.
 int hashCode()
          

 

Constructor Detail

SimpleResourceRegistry.RegistryKey

public SimpleResourceRegistry.RegistryKey(java.lang.Class clz)
Construct a SimpleResourceRegistry.RegistryKey. Instances created with this constructor will return Class.getName() for getName().
Parameters:
clz - class of registered resource

SimpleResourceRegistry.RegistryKey

public SimpleResourceRegistry.RegistryKey(java.lang.Class clz,
                                          java.lang.String sName)
Construct a SimpleResourceRegistry.RegistryKey.
Parameters:
clz - class of registered resource
sName - name of registered resource

Method Detail

getResourceClass

public java.lang.Class getResourceClass()
Return the resource class.
Returns:
the resource class

getName

public java.lang.String getName()
Return the resource name.
Returns:
the resource name

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.