Package com.tangosol.util
Class SimpleResourceRegistry.RegistryKey
- java.lang.Object
-
- com.tangosol.util.SimpleResourceRegistry.RegistryKey
-
- Enclosing class:
- SimpleResourceRegistry
protected class SimpleResourceRegistry.RegistryKey extends Object
Key class for a registered resource.
-
-
Constructor Summary
Constructors Constructor Description RegistryKey(Class<?> clz)
Construct aSimpleResourceRegistry.RegistryKey
.RegistryKey(Class<?> clz, String sName)
Construct aSimpleResourceRegistry.RegistryKey
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Return the resource name.Class<?>
getResourceClass()
Return the resource class.int
hashCode()
-
-
-
Constructor Detail
-
RegistryKey
public RegistryKey(Class<?> clz)
Construct aSimpleResourceRegistry.RegistryKey
. Instances created with this constructor will returnClass.getName()
forgetName()
.- Parameters:
clz
- class of registered resource
-
RegistryKey
public RegistryKey(Class<?> clz, String sName)
Construct aSimpleResourceRegistry.RegistryKey
.- Parameters:
clz
- class of registered resourcesName
- name of registered resource
-
-