Interface Registrar<T>

Type Parameters:
T - the type of object to be registered
All Known Subinterfaces:
Group, Registry<K,V>, ServiceProviderRegistry<T>

@Deprecated(forRemoval=true) public interface Registrar<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by Registrar.
Defines the contract for registration-capable objects, e.g. for listener registration.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    register(T object)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Registers an object.
  • Method Details

    • register

      Registration register(T object)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Registers an object. The object is unregistered when the generated Registration is closed.
      Parameters:
      object - an object to register
      Returns:
      an object registration.