public class NamespaceHandlerRegistryImpl extends Object implements NamespaceHandlerRegistry, org.osgi.util.tracker.ServiceTrackerCustomizer
| Modifier and Type | Class and Description |
|---|---|
static class |
NamespaceHandlerRegistryImpl.LRUMap<K,V> |
protected class |
NamespaceHandlerRegistryImpl.NamespaceHandlerSetImpl |
| Modifier and Type | Field and Description |
|---|---|
static URI |
BLUEPRINT_NAMESPACE |
static String |
NAMESPACE |
| Constructor and Description |
|---|
NamespaceHandlerRegistryImpl(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
void |
destroy()
Destroy this registry
|
org.apache.aries.blueprint.parser.NamespaceHandlerSet |
getNamespaceHandlers(Set<URI> uris,
org.osgi.framework.Bundle bundle)
Retrieve the
NamespaceHandler for the specified URI. |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
registerHandler(org.apache.aries.blueprint.NamespaceHandler handler,
Map properties) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
unregisterHandler(org.apache.aries.blueprint.NamespaceHandler handler,
Map properties) |
public static final URI BLUEPRINT_NAMESPACE
public static final String NAMESPACE
public NamespaceHandlerRegistryImpl(org.osgi.framework.BundleContext bundleContext)
public Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void modifiedService(org.osgi.framework.ServiceReference reference,
Object service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void removedService(org.osgi.framework.ServiceReference reference,
Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void registerHandler(org.apache.aries.blueprint.NamespaceHandler handler,
Map properties)
public void unregisterHandler(org.apache.aries.blueprint.NamespaceHandler handler,
Map properties)
public org.apache.aries.blueprint.parser.NamespaceHandlerSet getNamespaceHandlers(Set<URI> uris, org.osgi.framework.Bundle bundle)
NamespaceHandlerRegistryNamespaceHandler for the specified URI. Make suregetNamespaceHandlers in interface NamespaceHandlerRegistryuris - the namespace identifying the namespace handlerbundle - the blueprint bundle to be checked for class space consistencyNamespaceHandlers compatible with the class space of the given bundlepublic void destroy()
NamespaceHandlerRegistrydestroy in interface NamespaceHandlerRegistryCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.