public class CmNamespaceHandler extends Object implements org.apache.aries.blueprint.NamespaceHandler
| Constructor and Description |
|---|
CmNamespaceHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.service.blueprint.reflect.ComponentMetadata |
decorate(Node node,
org.osgi.service.blueprint.reflect.ComponentMetadata component,
org.apache.aries.blueprint.ParserContext context) |
void |
generateIdIfNeeded(org.apache.aries.blueprint.ParserContext context,
org.apache.aries.blueprint.mutable.MutableComponentMetadata metadata) |
String |
getId(org.apache.aries.blueprint.ParserContext context,
Element element) |
Set<Class> |
getManagedClasses() |
URL |
getSchemaLocation(String namespace) |
static boolean |
isBlueprintNamespace(String ns) |
org.osgi.service.blueprint.reflect.Metadata |
parse(Element element,
org.apache.aries.blueprint.ParserContext context) |
List<String> |
parseInterfaceNames(Element element) |
public static final String BLUEPRINT_NAMESPACE
public static final String XBEAN_CM_NAMESPACE
public static final String PROPERTY_PLACEHOLDER_ELEMENT
public static final String CM_PROPERTIES_ELEMENT
public static final String DEFAULT_PROPERTIES_ELEMENT
public static final String PROPERTY_ELEMENT
public static final String INTERFACES_ELEMENT
public static final String VALUE_ELEMENT
public static final String MANAGED_COMPONENT_ELEMENT
public static final String ID_ATTRIBUTE
public static final String PERSISTENT_ID_ATTRIBUTE
public static final String PLACEHOLDER_PREFIX_ATTRIBUTE
public static final String PLACEHOLDER_SUFFIX_ATTRIBUTE
public static final String DEFAULTS_REF_ATTRIBUTE
public static final String UPDATE_STRATEGY_ATTRIBUTE
public static final String UPDATE_METHOD_ATTRIBUTE
public static final String FACTORY_PID_ATTRIBUTE
public static final String AUTO_EXPORT_ATTRIBUTE
public static final String RANKING_ATTRIBUTE
public static final String INTERFACE_ATTRIBUTE
public static final String UPDATE_ATTRIBUTE
public static final String AUTO_EXPORT_DISABLED
public static final String AUTO_EXPORT_INTERFACES
public static final String AUTO_EXPORT_CLASS_HIERARCHY
public static final String AUTO_EXPORT_ALL
public static final String AUTO_EXPORT_DEFAULT
public static final String RANKING_DEFAULT
public URL getSchemaLocation(String namespace)
getSchemaLocation in interface org.apache.aries.blueprint.NamespaceHandlerpublic Set<Class> getManagedClasses()
getManagedClasses in interface org.apache.aries.blueprint.NamespaceHandlerpublic org.osgi.service.blueprint.reflect.Metadata parse(Element element, org.apache.aries.blueprint.ParserContext context)
parse in interface org.apache.aries.blueprint.NamespaceHandlerpublic org.osgi.service.blueprint.reflect.ComponentMetadata decorate(Node node, org.osgi.service.blueprint.reflect.ComponentMetadata component, org.apache.aries.blueprint.ParserContext context)
decorate in interface org.apache.aries.blueprint.NamespaceHandlerpublic static boolean isBlueprintNamespace(String ns)
public void generateIdIfNeeded(org.apache.aries.blueprint.ParserContext context,
org.apache.aries.blueprint.mutable.MutableComponentMetadata metadata)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.