Interface Registrar<T>
- Type Parameters:
T- the type of object to be registered
- All Known Subinterfaces:
CacheContainerGroup, CacheContainerRegistry<K,V>, CacheContainerServiceProviderRegistrar<T>, ChannelGroup, ConsumerRegistry<T>, Group<M>, Group<I, M>, ListenerRegistry<T>, LocalGroup, LocalRegistry<K, V>, LocalServiceProviderRegistrar<T>, Registry<M, K, V>, ServiceProviderRegistrar<T, M>
- All Known Implementing Classes:
CacheRegistry, CacheServiceProviderRegistrar, EmbeddedCacheManagerGroup, JChannelGroup, LocalListenerRegistry
public interface Registrar<T>
Defines the contract for registration-capable objects, e.g. for listener registration.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
register
Registers an object. The object is unregistered when the generatedRegistrationis closed.- Parameters:
object- an object to register- Returns:
- an object registration.
-