Package org.wildfly.clustering.server
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
-
Method Details
-
register
Registers an object. The object is unregistered when the generatedRegistrationis closed.- Parameters:
object- an object to register- Returns:
- an object registration.
-