Class AbstractBPBeanDefinitionParser
java.lang.Object
org.apache.cxf.configuration.blueprint.AbstractBPBeanDefinitionParser
- Direct Known Subclasses:
BusDefinitionParser
,SimpleBPBeanDefinitionParser
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.aries.blueprint.mutable.MutableBeanMetadata
createObjectOfClass
(org.apache.aries.blueprint.ParserContext context, String value) static org.apache.aries.blueprint.PassThroughMetadata
createPassThrough
(org.apache.aries.blueprint.ParserContext context, Object value) static org.osgi.service.blueprint.reflect.RefMetadata
static org.osgi.service.blueprint.reflect.ValueMetadata
createValue
(org.apache.aries.blueprint.ParserContext context, String value) org.osgi.service.blueprint.reflect.Metadata
createValue
(org.apache.aries.blueprint.ParserContext context, QName qName) protected org.apache.aries.blueprint.mutable.MutableBeanMetadata
protected org.osgi.service.blueprint.reflect.RefMetadata
protected javax.xml.bind.JAXBContext
getContext
(Class<?> cls) protected boolean
protected boolean
isAttribute
(String pre, String name) protected boolean
isNamespace
(String name, String prefix) protected void
mapAttribute
(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element e, String name, String val, org.apache.aries.blueprint.ParserContext context) protected void
mapElement
(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element el, String name) protected void
mapElementToJaxbProperty
(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element data, String propertyName, Class<?> c) protected void
mapElementToJaxbProperty
(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element parent, QName name, String propertyName, Class<?> c) protected void
mapToProperty
(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName, String val, org.apache.aries.blueprint.ParserContext context) protected boolean
parseAttributes
(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean) protected void
parseChildElements
(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean) protected org.osgi.service.blueprint.reflect.Metadata
parseListData
(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element) protected org.osgi.service.blueprint.reflect.Metadata
parseMapData
(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element) parseQName
(Element element, String t) protected void
processBusAttribute
(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val) protected void
processNameAttribute
(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val) protected void
setFirstChildAsProperty
(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName)
-
Constructor Details
-
AbstractBPBeanDefinitionParser
public AbstractBPBeanDefinitionParser()
-
-
Method Details
-
hasBusProperty
protected boolean hasBusProperty() -
createValue
public org.osgi.service.blueprint.reflect.Metadata createValue(org.apache.aries.blueprint.ParserContext context, QName qName) -
parseListData
protected org.osgi.service.blueprint.reflect.Metadata parseListData(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element) -
parseMapData
protected org.osgi.service.blueprint.reflect.Metadata parseMapData(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element) -
setFirstChildAsProperty
-
parseQName
-
parseAttributes
protected boolean parseAttributes(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean) -
processBusAttribute
-
processNameAttribute
-
mapAttribute
-
isAttribute
-
isNamespace
-
mapElement
-
mapToProperty
-
createValue
public static org.osgi.service.blueprint.reflect.ValueMetadata createValue(org.apache.aries.blueprint.ParserContext context, String value) -
createRef
public static org.osgi.service.blueprint.reflect.RefMetadata createRef(org.apache.aries.blueprint.ParserContext context, String value) -
createPassThrough
public static org.apache.aries.blueprint.PassThroughMetadata createPassThrough(org.apache.aries.blueprint.ParserContext context, Object value) -
createObjectOfClass
public static org.apache.aries.blueprint.mutable.MutableBeanMetadata createObjectOfClass(org.apache.aries.blueprint.ParserContext context, String value) -
getBus
protected org.apache.aries.blueprint.mutable.MutableBeanMetadata getBus(org.apache.aries.blueprint.ParserContext context, String name) -
getBusRef
protected org.osgi.service.blueprint.reflect.RefMetadata getBusRef(org.apache.aries.blueprint.ParserContext context, String name) -
parseChildElements
protected void parseChildElements(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean) -
mapElementToJaxbProperty
-
mapElementToJaxbProperty
-
getContext
-