Package org.apache.cxf.service.model
Class AbstractPropertiesHolder
java.lang.Object
org.apache.cxf.service.model.AbstractPropertiesHolder
- All Implemented Interfaces:
Extensible
- Direct Known Subclasses:
AbstractDescriptionElement,AbstractMessageContainer,BindingFaultInfo,BindingMessageInfo,BindingOperationInfo,DescriptionInfo,MessagePartInfo,OperationInfo,SchemaInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtensionAttribute(QName name, Object attr) voidaddExtensor(Object el) booleanprotected static final booleangetExtensionAttribute(QName name) <T> TgetExtensor(Class<T> cls) <T> List<T>getExtensors(Class<T> cls) getProperty(String name) <T> TgetProperty(String name, Class<T> cls) <T> TgetTraversedExtensor(T defaultValue, Class<T> type) Lookup a configuration value.booleanhasProperty(String name) removeProperty(String name) final voidsetDelegate(AbstractPropertiesHolder p, boolean props) voidvoidsetExtensionAttributes(Map<QName, Object> attrs) voidsetProperty(String name, Object v)
-
Constructor Details
-
AbstractPropertiesHolder
public AbstractPropertiesHolder()
-
-
Method Details
-
setDelegate
-
getDocumentation
-
setDocumentation
-
getProperties
-
getProperty
-
removeProperty
-
getProperty
-
hasProperty
-
setProperty
-
containsExtensor
-
addExtensor
- Specified by:
addExtensorin interfaceExtensible
-
getExtensor
- Specified by:
getExtensorin interfaceExtensible
-
getExtensors
- Specified by:
getExtensorsin interfaceExtensible
-
getExtensors
-
getExtensionAttribute
- Specified by:
getExtensionAttributein interfaceExtensible
-
getExtensionAttributes
- Specified by:
getExtensionAttributesin interfaceExtensible
-
addExtensionAttribute
- Specified by:
addExtensionAttributein interfaceExtensible
-
setExtensionAttributes
- Specified by:
setExtensionAttributesin interfaceExtensible
-
getTraversedExtensor
Lookup a configuration value. This may be found in the properties holder supplied (i.e. an EndpointInfo or ServiceInfo), or it may be a property on the Bus itself. If no value is found, the defaultValue is returned.- Parameters:
defaultValue- the default valuetype- the extensor type- Returns:
- the configuration value or the default
-
equals
-