Uses of Class
space.arim.omnibus.registry.Registration
Packages that use Registration
-
Uses of Registration in space.arim.omnibus.registry
Classes in space.arim.omnibus.registry that implement interfaces with type arguments of type RegistrationModifier and TypeClassDescriptionfinal classRegistration<T>A registration wrapper for a specific service, including a registration priority, service provider implementing the service, and accompanying optional display name.Methods in space.arim.omnibus.registry that return RegistrationModifier and TypeMethodDescriptionRegistrationAddEvent.getRegistration()Gets the registration added.RegistrationRemoveEvent.getRegistration()Gets the registration which was unregistered.<T> Registration<T> Registers a resource as a specific service and generates aRegistrationto represent the registration which was just added.<T> Registration<T> Registry.registerAndGet(Class<T> service, byte priority, T provider, String name) Registers a resource as a specific service and returns the highest priority registration for the service.Methods in space.arim.omnibus.registry that return types with arguments of type RegistrationModifier and TypeMethodDescription<T> List<Registration<T>> Registry.getAllRegistrations(Class<T> service) Gets all registrations for a specific service, as an immutable copy.ServiceChangeEvent.getPrevious()Gets the previous highest priority registration.<T> Optional<Registration<T>> Registry.getRegistration(Class<T> service) Retrieves the highest priority registration for a service.ServiceChangeEvent.getUpdated()Gets the updated highest priority registration.<T> Optional<Registration<T>> Registry.unregister(Class<T> service, Registration<T> registration) Unregisters the specifiedRegistration, and returns the updated highest priority registration after the specifiedRegistrationis unregistered.Methods in space.arim.omnibus.registry with parameters of type RegistrationModifier and TypeMethodDescriptionintRegistration.compareTo(Registration<T> other) <T> Optional<Registration<T>> Registry.unregister(Class<T> service, Registration<T> registration) Unregisters the specifiedRegistration, and returns the updated highest priority registration after the specifiedRegistrationis unregistered.