Apache CXF API

org.apache.cxf.extension
Interface Registry<K,T>

All Known Subinterfaces:
PolicyInterceptorProviderRegistry
All Known Implementing Classes:
DomainExpressionBuilderRegistry, PolicyInterceptorProviderRegistryImpl, RegistryImpl

public interface Registry<K,T>


Method Summary
 T get(K k)
          Returns the object stored under the given key.
 void register(K k, T t)
          Registers an object of type T with this registry.
 void unregister(K k)
          Unregisters the object stored under the given key from this registry.
 

Method Detail

register

void register(K k,
              T t)
Registers an object of type T with this registry.

Parameters:
k - the key under which rto register the object
t - the object to register

unregister

void unregister(K k)
Unregisters the object stored under the given key from this registry.

Parameters:
k - the key

get

T get(K k)
Returns the object stored under the given key.

Parameters:
k - the key
Returns:
the object stored under the key

Apache CXF API

Apache CXF