public class NamespaceManager extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
NamespaceManager(org.osgi.framework.BundleContext context)
Constructs a new
NamespaceManager instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
NamespacePlugins |
getNamespacePlugins() |
void |
maybeAddNamespaceHandlerFor(org.osgi.framework.Bundle bundle,
boolean isLazyBundle)
Registers the namespace plugin handler if this bundle defines handler mapping or schema mapping resources.
|
void |
maybeRemoveNameSpaceHandlerFor(org.osgi.framework.Bundle bundle)
Removes the target bundle from the set of those known to provide handler or schema mappings.
|
public NamespaceManager(org.osgi.framework.BundleContext context)
NamespaceManager instance.context - containing bundle contextpublic void maybeAddNamespaceHandlerFor(org.osgi.framework.Bundle bundle,
boolean isLazyBundle)
bundle - target bundleisLazyBundle - indicator if the bundle analyzed is lazily activatedpublic void maybeRemoveNameSpaceHandlerFor(org.osgi.framework.Bundle bundle)
bundle - handler bundlepublic NamespacePlugins getNamespacePlugins()
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanCopyright © 2006–2016. All rights reserved.