Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
assignable(java.lang.Class<L> type) |
static Resource<?> |
forName(java.lang.String name) |
static <L extends Listener> |
forType(java.lang.Class<L> type) |
static boolean |
isRegistered(java.lang.Class<? extends Listener> type,
Resource<?> resource) |
static <L extends Listener> |
register(java.lang.Class<L> type,
Resource<? super L> resource) |
static <L extends Listener> |
registerAll(java.lang.Class<L> type,
java.lang.Iterable<Resource<? super L>> resources) |
static void |
registerAll(ResourceNamesSupplier supplier) |
static <L extends Listener> |
registrable(java.lang.Class<L> type) |
static com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
registrations() |
static <L extends Listener> |
toResourceNameMap(java.util.Set<Resource<L>> resources) |
static <L extends Listener> |
unregister(java.lang.Class<L> type,
Resource<? super L> resource) |
static <L extends Listener> |
unregisterAll() |
static <L extends Listener> |
unregisterAll(java.lang.Class<L> type) |
public static Resource<?> forName(java.lang.String name)
public static <L extends Listener> java.util.Set<Resource<L>> forType(java.lang.Class<L> type)
public static <L extends Listener> void register(java.lang.Class<L> type, Resource<? super L> resource)
public static <L extends Listener> void registerAll(java.lang.Class<L> type, java.lang.Iterable<Resource<? super L>> resources)
public static void registerAll(ResourceNamesSupplier supplier)
public static <L extends Listener> void unregister(java.lang.Class<L> type, Resource<? super L> resource)
public static <L extends Listener> void unregisterAll()
public static <L extends Listener> void unregisterAll(java.lang.Class<L> type)
public static <L extends Listener> java.util.Set<Resource<? extends L>> assignable(java.lang.Class<L> type)
public static <L extends Listener> java.util.Set<Resource<? super L>> registrable(java.lang.Class<L> type)
public static com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> registrations()
public static boolean isRegistered(java.lang.Class<? extends Listener> type, Resource<?> resource)