org.apache.aries.blueprint.container
Interface NamespaceHandlerRegistry

All Known Implementing Classes:
NamespaceHandlerRegistryImpl

public interface NamespaceHandlerRegistry

Registry of NamespaceHandler.

Version:
$Rev: 982158 $, $Date: 2010-08-04 09:32:15 +0100 (Wed, 04 Aug 2010) $

Nested Class Summary
static interface NamespaceHandlerRegistry.Listener
          Interface used to listen to registered or unregistered namespace handlers.
static interface NamespaceHandlerRegistry.NamespaceHandlerSet
          Interface used to managed a set of namespace handlers
 
Method Summary
 void destroy()
          Destroy this registry
 NamespaceHandlerRegistry.NamespaceHandlerSet getNamespaceHandlers(java.util.Set<java.net.URI> uri, org.osgi.framework.Bundle bundle)
          Retrieve the NamespaceHandler for the specified URI.
 

Method Detail

getNamespaceHandlers

NamespaceHandlerRegistry.NamespaceHandlerSet getNamespaceHandlers(java.util.Set<java.net.URI> uri,
                                                                  org.osgi.framework.Bundle bundle)
Retrieve the NamespaceHandler for the specified URI. Make sure

Parameters:
uri - the namespace identifying the namespace handler
bundle - the blueprint bundle to be checked for class space consistency
Returns:
a set of registered NamespaceHandlers compatible with the class space of the given bundle

destroy

void destroy()
Destroy this registry



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.