org.apache.xbean.blueprint.cm
Class CmNamespaceHandler
java.lang.Object
org.apache.xbean.blueprint.cm.CmNamespaceHandler
- All Implemented Interfaces:
- org.apache.aries.blueprint.NamespaceHandler
public class CmNamespaceHandler
- extends Object
- implements org.apache.aries.blueprint.NamespaceHandler
Modified from aries CmNamespaceHandler
- Version:
- $Rev: 907189 $ $Date: 2010-02-06 03:01:43 -0500 (Sat, 06 Feb 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLUEPRINT_NAMESPACE
public static final String BLUEPRINT_NAMESPACE
- See Also:
- Constant Field Values
XBEAN_CM_NAMESPACE
public static final String XBEAN_CM_NAMESPACE
- See Also:
- Constant Field Values
PROPERTY_PLACEHOLDER_ELEMENT
public static final String PROPERTY_PLACEHOLDER_ELEMENT
- See Also:
- Constant Field Values
CM_PROPERTIES_ELEMENT
public static final String CM_PROPERTIES_ELEMENT
- See Also:
- Constant Field Values
DEFAULT_PROPERTIES_ELEMENT
public static final String DEFAULT_PROPERTIES_ELEMENT
- See Also:
- Constant Field Values
PROPERTY_ELEMENT
public static final String PROPERTY_ELEMENT
- See Also:
- Constant Field Values
INTERFACES_ELEMENT
public static final String INTERFACES_ELEMENT
- See Also:
- Constant Field Values
VALUE_ELEMENT
public static final String VALUE_ELEMENT
- See Also:
- Constant Field Values
MANAGED_COMPONENT_ELEMENT
public static final String MANAGED_COMPONENT_ELEMENT
- See Also:
- Constant Field Values
ID_ATTRIBUTE
public static final String ID_ATTRIBUTE
- See Also:
- Constant Field Values
PERSISTENT_ID_ATTRIBUTE
public static final String PERSISTENT_ID_ATTRIBUTE
- See Also:
- Constant Field Values
PLACEHOLDER_PREFIX_ATTRIBUTE
public static final String PLACEHOLDER_PREFIX_ATTRIBUTE
- See Also:
- Constant Field Values
PLACEHOLDER_SUFFIX_ATTRIBUTE
public static final String PLACEHOLDER_SUFFIX_ATTRIBUTE
- See Also:
- Constant Field Values
DEFAULTS_REF_ATTRIBUTE
public static final String DEFAULTS_REF_ATTRIBUTE
- See Also:
- Constant Field Values
UPDATE_STRATEGY_ATTRIBUTE
public static final String UPDATE_STRATEGY_ATTRIBUTE
- See Also:
- Constant Field Values
UPDATE_METHOD_ATTRIBUTE
public static final String UPDATE_METHOD_ATTRIBUTE
- See Also:
- Constant Field Values
FACTORY_PID_ATTRIBUTE
public static final String FACTORY_PID_ATTRIBUTE
- See Also:
- Constant Field Values
AUTO_EXPORT_ATTRIBUTE
public static final String AUTO_EXPORT_ATTRIBUTE
- See Also:
- Constant Field Values
RANKING_ATTRIBUTE
public static final String RANKING_ATTRIBUTE
- See Also:
- Constant Field Values
INTERFACE_ATTRIBUTE
public static final String INTERFACE_ATTRIBUTE
- See Also:
- Constant Field Values
UPDATE_ATTRIBUTE
public static final String UPDATE_ATTRIBUTE
- See Also:
- Constant Field Values
AUTO_EXPORT_DISABLED
public static final String AUTO_EXPORT_DISABLED
- See Also:
- Constant Field Values
AUTO_EXPORT_INTERFACES
public static final String AUTO_EXPORT_INTERFACES
- See Also:
- Constant Field Values
AUTO_EXPORT_CLASS_HIERARCHY
public static final String AUTO_EXPORT_CLASS_HIERARCHY
- See Also:
- Constant Field Values
AUTO_EXPORT_ALL
public static final String AUTO_EXPORT_ALL
- See Also:
- Constant Field Values
AUTO_EXPORT_DEFAULT
public static final String AUTO_EXPORT_DEFAULT
- See Also:
- Constant Field Values
RANKING_DEFAULT
public static final String RANKING_DEFAULT
- See Also:
- Constant Field Values
CmNamespaceHandler
public CmNamespaceHandler()
getSchemaLocation
public URL getSchemaLocation(String namespace)
- Specified by:
getSchemaLocation
in interface org.apache.aries.blueprint.NamespaceHandler
getManagedClasses
public Set<Class> getManagedClasses()
- Specified by:
getManagedClasses
in interface org.apache.aries.blueprint.NamespaceHandler
parse
public org.osgi.service.blueprint.reflect.Metadata parse(Element element,
org.apache.aries.blueprint.ParserContext context)
- Specified by:
parse
in interface org.apache.aries.blueprint.NamespaceHandler
decorate
public org.osgi.service.blueprint.reflect.ComponentMetadata decorate(Node node,
org.osgi.service.blueprint.reflect.ComponentMetadata component,
org.apache.aries.blueprint.ParserContext context)
- Specified by:
decorate
in interface org.apache.aries.blueprint.NamespaceHandler
isBlueprintNamespace
public static boolean isBlueprintNamespace(String ns)
getId
public String getId(org.apache.aries.blueprint.ParserContext context,
Element element)
generateIdIfNeeded
public void generateIdIfNeeded(org.apache.aries.blueprint.ParserContext context,
org.apache.aries.blueprint.mutable.MutableComponentMetadata metadata)
parseInterfaceNames
public List<String> parseInterfaceNames(Element element)
Copyright © 2005-2013. All Rights Reserved.