Interface Registration
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
ServiceProviderRegistration<T,M>
- All Known Implementing Classes:
DefaultServiceProviderRegistration
Encapsulates a registration.
- Author:
- Paul Ferraro
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Removes this registration from the associatedRegistrar, after which this object is no longer functional.static Registrationcomposite(Iterable<? extends Registration> registrations) Creates a composite registration.
-
Field Details
-
EMPTY
An empty registration
-
-
Method Details
-
close
void close()Removes this registration from the associatedRegistrar, after which this object is no longer functional.- Specified by:
closein interfaceAutoCloseable
-
composite
Creates a composite registration.- Parameters:
registrations- a collection of registrations- Returns:
- a composite registration.
-