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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtensionAttribute
(QName name, Object attr) void
addExtensor
(Object el) boolean
protected static final boolean
getExtensionAttribute
(QName name) <T> T
getExtensor
(Class<T> cls) <T> List<T>
getExtensors
(Class<T> cls) getProperty
(String name) <T> T
getProperty
(String name, Class<T> cls) <T> T
getTraversedExtensor
(T defaultValue, Class<T> type) Lookup a configuration value.boolean
hasProperty
(String name) removeProperty
(String name) final void
setDelegate
(AbstractPropertiesHolder p, boolean props) void
void
setExtensionAttributes
(Map<QName, Object> attrs) void
setProperty
(String name, Object v)
-
Constructor Details
-
AbstractPropertiesHolder
public AbstractPropertiesHolder()
-
-
Method Details
-
setDelegate
-
getDocumentation
-
setDocumentation
-
getProperties
-
getProperty
-
removeProperty
-
getProperty
-
hasProperty
-
setProperty
-
containsExtensor
-
addExtensor
- Specified by:
addExtensor
in interfaceExtensible
-
getExtensor
- Specified by:
getExtensor
in interfaceExtensible
-
getExtensors
- Specified by:
getExtensors
in interfaceExtensible
-
getExtensors
-
getExtensionAttribute
- Specified by:
getExtensionAttribute
in interfaceExtensible
-
getExtensionAttributes
- Specified by:
getExtensionAttributes
in interfaceExtensible
-
addExtensionAttribute
- Specified by:
addExtensionAttribute
in interfaceExtensible
-
setExtensionAttributes
- Specified by:
setExtensionAttributes
in 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
-