Class AbstractBPBeanDefinitionParser
- java.lang.Object
-
- org.apache.cxf.configuration.blueprint.AbstractBPBeanDefinitionParser
-
- Direct Known Subclasses:
BusDefinitionParser,SimpleBPBeanDefinitionParser
public abstract class AbstractBPBeanDefinitionParser extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractBPBeanDefinitionParser.JAXBBeanFactory
-
Constructor Summary
Constructors Constructor Description AbstractBPBeanDefinitionParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.aries.blueprint.mutable.MutableBeanMetadatacreateObjectOfClass(org.apache.aries.blueprint.ParserContext context, String value)static org.apache.aries.blueprint.PassThroughMetadatacreatePassThrough(org.apache.aries.blueprint.ParserContext context, Object value)static org.osgi.service.blueprint.reflect.RefMetadatacreateRef(org.apache.aries.blueprint.ParserContext context, String value)static org.osgi.service.blueprint.reflect.ValueMetadatacreateValue(org.apache.aries.blueprint.ParserContext context, String value)org.osgi.service.blueprint.reflect.MetadatacreateValue(org.apache.aries.blueprint.ParserContext context, QName qName)protected org.apache.aries.blueprint.mutable.MutableBeanMetadatagetBus(org.apache.aries.blueprint.ParserContext context, String name)protected org.osgi.service.blueprint.reflect.RefMetadatagetBusRef(org.apache.aries.blueprint.ParserContext context, String name)protected javax.xml.bind.JAXBContextgetContext(Class<?> cls)protected booleanhasBusProperty()protected booleanisAttribute(String pre, String name)protected booleanisNamespace(String name, String prefix)protected voidmapAttribute(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element e, String name, String val, org.apache.aries.blueprint.ParserContext context)protected voidmapElement(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element el, String name)protected voidmapElementToJaxbProperty(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element data, String propertyName, Class<?> c)protected voidmapElementToJaxbProperty(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element parent, QName name, String propertyName, Class<?> c)protected voidmapToProperty(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName, String val, org.apache.aries.blueprint.ParserContext context)protected booleanparseAttributes(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean)protected voidparseChildElements(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean)protected org.osgi.service.blueprint.reflect.MetadataparseListData(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element)protected org.osgi.service.blueprint.reflect.MetadataparseMapData(org.apache.aries.blueprint.ParserContext context, org.osgi.service.blueprint.reflect.ComponentMetadata enclosingComponent, Element element)QNameparseQName(Element element, String t)protected voidprocessBusAttribute(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val)protected voidprocessNameAttribute(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val)protected voidsetFirstChildAsProperty(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName)
-
-
-
Method Detail
-
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
protected void setFirstChildAsProperty(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName)
-
parseAttributes
protected boolean parseAttributes(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean)
-
processBusAttribute
protected void processBusAttribute(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val)
-
processNameAttribute
protected void processNameAttribute(Element element, org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String val)
-
mapAttribute
protected void mapAttribute(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element e, String name, String val, org.apache.aries.blueprint.ParserContext context)
-
mapElement
protected void mapElement(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element el, String name)
-
mapToProperty
protected void mapToProperty(org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, String propertyName, String val, org.apache.aries.blueprint.ParserContext context)
-
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
protected void mapElementToJaxbProperty(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element parent, QName name, String propertyName, Class<?> c)
-
mapElementToJaxbProperty
protected void mapElementToJaxbProperty(org.apache.aries.blueprint.ParserContext ctx, org.apache.aries.blueprint.mutable.MutableBeanMetadata bean, Element data, String propertyName, Class<?> c)
-
getContext
protected javax.xml.bind.JAXBContext getContext(Class<?> cls)
-
-