public interface ComponentExtensionContext
It provides accessor methods that return ExtensionProperty
objects,
which callers can use to access the content of an extension property.
Implementors of WSDL 2.0 extensions must, as a minimum, implement this interface
for each WSDL 2.0 component they extend. They must also register their
extension implementations using the ExtensionRegistry
.
Implementors may optionally extend this interface to add their own extension-specific
property accessor methods to the generic accessor methods declared by this interface.
For examples of this, see the SOAP and HTTP binding extensions provided by Woden.
To document extensions consistently, implementors should copy the following Javadoc fragment to use for their implementation classes or for their sub-interfaces of this interface, replacing the square bracket parts [...] accordingly.
start of fragment:
Provides access to the extension properties of the [parent component name] component
that are in the [extension namespace]
namespace.
These extension properties can be accessed as ExtensionProperty
objects
via the getProperties
and getProperty
methods
using the property names and Java types shown in the following table.
Property name | Java type |
---|---|
[property name] | [java type] |
... | ... |
end of fragment:
ExtensionProperty
Modifier and Type | Method and Description |
---|---|
URI |
getNamespace() |
WSDLComponent |
getParent() |
ExtensionProperty[] |
getProperties() |
ExtensionProperty |
getProperty(String propertyName) |
WSDLComponent getParent()
URI getNamespace()
ExtensionProperty[] getProperties()
ExtensionProperty getProperty(String propertyName)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.