Interface Registrar<T>

Type Parameters:
T - the type of object to be registered
All Known Subinterfaces:
CacheContainerGroup, CacheContainerRegistry<K,V>, CacheContainerServiceProviderRegistrar<T>, ChannelGroup, Group<M>, Group<A,M>, ListenerRegistrar<T>, LocalGroup, LocalRegistry<K,V>, LocalServiceProviderRegistrar<T>, Registry<M,K,V>, ServiceProviderRegistrar<T,M>
All Known Implementing Classes:
CacheRegistry, CacheServiceProviderRegistrar, EmbeddedCacheManagerGroup, ExpiredSessionRemover, HotRodSessionFactory, JChannelGroup, LocalListenerRegistrar, SessionAttributeActivationNotifierFactory

public interface Registrar<T>
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)
    Registers an object.
  • Method Details

    • register

      Registration register(T object)
      Registers an object. The object is unregistered when the generated Registration is closed.
      Parameters:
      object - an object to register
      Returns:
      an object registration.