public class RegistryManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
RegistryManager.Registry<T> |
Constructor and Description |
---|
RegistryManager() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAllKeys(java.lang.Class<?> type) |
static <T> java.util.List<T> |
getAllValues(java.lang.Class<T> type) |
protected static <T> RegistryManager.Registry<T> |
getRegistry(java.lang.Class<?> type) |
static <T> RegistryValue<T> |
getRegistryValue(T value) |
static void |
invalidateRegistry(java.lang.Class<?> type) |
static <T> void |
register(java.lang.String key,
T value) |
static <T> void |
register(java.lang.String key,
T value,
java.lang.Class<T> clazz) |
protected static <T> RegistryManager.Registry<T> getRegistry(java.lang.Class<?> type)
public static <T> void register(java.lang.String key, T value)
public static <T> void register(java.lang.String key, T value, java.lang.Class<T> clazz)
public static <T> RegistryValue<T> getRegistryValue(T value)
public static <T> java.util.List<T> getAllValues(java.lang.Class<T> type)
public static java.util.List<java.lang.String> getAllKeys(java.lang.Class<?> type)
public static void invalidateRegistry(java.lang.Class<?> type)