public class DescriptionFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DescriptionFactory.UpdateType
The type of update being done for a particular Port.
|
Modifier and Type | Method and Description |
---|---|
static AxisService |
createAxisService(Class serviceImplClass)
This provide very convenient way of creating an AxisService from an annotated java class.
|
static AxisService |
createAxisService(Class serviceImplClass,
ConfigurationContext configContext)
This provide very convenient way of creating an AxisService from an annotated java class.
|
static ClientConfigurationFactory |
createClientConfigurationFactory()
Creates Client ConfigurationFactory used to create AxisConfiguration.
|
static ResolvedHandlersDescription |
createResolvedHandlersDescription()
Create a ResolvedHandlersDescription object, which describes attributes of handlers
that have been resolved for a give port.
|
static ServiceDescription |
createServiceDescription(Class serviceImplClass)
Create a full ServiceDescription hierarchy on the SERVER side for a single service
implementation class.
|
static ServiceDescription |
createServiceDescription(URL wsdlURL,
QName serviceQName,
Class serviceClass)
Create the initial ServiceDescription hierarchy on the CLIENT side.
|
static ServiceDescription |
createServiceDescription(URL wsdlURL,
QName serviceQName,
Class serviceClass,
DescriptionBuilderComposite sparseComposite,
Object sparseCompositeKey)
Create the initial ServiceDescripton hierarchy on the CLIENT side.
|
static List<ServiceDescription> |
createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap)
Create a full ServiceDescription hierarchy on the SERVER side for EACH service implementation
entry in the DescriptionBuilderComposite (DBC) map.
|
static List<ServiceDescription> |
createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap,
ConfigurationContext configContext)
Create a full ServiceDescription hierarchy on the SERVER side for EACH service implementation
entry in the DescriptionBuilderComposite (DBC) map.
|
static List<ServiceDescription> |
createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap,
ConfigurationContext configContext,
boolean performVaidation)
Create a full ServiceDescription hierarchy on the SERVER side for EACH service implementation
entry in the DescriptionBuilderComposite (DBC) map.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType)
Retrieve or create the EndpointDescription hierachy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType,
DescriptionBuilderComposite composite,
Object sparseCompositeKey)
Retrieve or create an EndpointDescription hierachy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType,
DescriptionBuilderComposite composite,
Object sparseCompositeKey,
String bindingId,
String endpointAddress)
Retrieve or create an EndpointDescription hierachy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType,
Object serviceDelegateKey)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType,
Object serviceDelegateKey,
String bindingId,
String endpointAddress)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
EndpointReference epr,
String addressingNamespace,
DescriptionFactory.UpdateType updateType,
String bindingId,
String endpointAddress)
Retrieve or create the EndpointDescription hierachy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType,
DescriptionBuilderComposite composite,
Object sparseCompositeKey)
Retrieve or create an EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType,
DescriptionBuilderComposite composite,
Object sparseCompositeKey,
String bindingId,
String endpointAddress)
Retrieve or create an EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType,
Object serviceDelegateKey)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType,
Object serviceDelegateKey,
String bindingId,
String endpointAddress)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType,
String bindingId,
String endpointAddress)
Retrieve or create the EndpointDescription hierarchy associated with an existing CLIENT side
ServiceDescription for a particular port.
|
public static ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass)
wsdlURL
- URL to the WSDL file to use; this may be nullserviceQName
- The ServiceQName for this service; may not be nullserviceClass
- The Service class; may not be null and must be assignable from
javax.xml.ws.Service#updateEndpoint(ServiceDescription, Class, QName, ServiceDescription.UpdateType)
public static ServiceDescription createServiceDescription(URL wsdlURL, QName serviceQName, Class serviceClass, DescriptionBuilderComposite sparseComposite, Object sparseCompositeKey)
wsdlURL
- serviceQName
- serviceClass
- sparseComposite
- sparseCompositeKey
- createServiceDescription(URL, QName, Class)
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.portQName
- The QName of the port. If this is null, the runtime will attempt
to to select an appropriate port to use.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.createServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.portQName
- The QName of the port. If this is null, the runtime will attempt
to to select an appropriate port to use.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.serviceDelegateKey
- A reference back to the ServiceDelegate that called itcreateServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey)
serviceDescription
- sei
- portQName
- updateType
- composite
- updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.epr
- The endpoint reference to the target port.addressingNamespace
- The addressing namespace of the endpoint reference.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.createServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.epr
- The endpoint reference to the target port.addressingNamespace
- The addressing namespace of the endpoint reference.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.serviceDelegateKey
- A reference back to the ServiceDelegate that called itcreateServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey)
serviceDescription
- sei
- portQName
- updateType
- composite
- updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.portQName
- The QName of the port. If this is null, the runtime will attempt
to to select an appropriate port to use.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.createServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey, String bindingId, String endpointAddress)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.portQName
- The QName of the port. If this is null, the runtime will attempt
to to select an appropriate port to use.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.serviceDelegateKey
- A reference back to the ServiceDelegate that called itcreateServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, QName portQName, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey, String bindingId, String endpointAddress)
serviceDescription
- sei
- portQName
- updateType
- composite
- updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, String bindingId, String endpointAddress)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.epr
- The endpoint reference to the target port.addressingNamespace
- The addressing namespace of the endpoint reference.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.createServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, Object serviceDelegateKey, String bindingId, String endpointAddress)
serviceDescription
- An existing client-side ServiceDescription. This must not be
null.sei
- The ServiceInterface class. This can be null for adding a port or
creating a Dispatch; it can not be null when getting a port.epr
- The endpoint reference to the target port.addressingNamespace
- The addressing namespace of the endpoint reference.updateType
- The type of the update: adding a port, creating a dispatch, or
getting an SEI-based port.serviceDelegateKey
- A reference back to the ServiceDelegate that called itcreateServiceDescription(URL, QName, Class)
,
DescriptionFactory.UpdateType
public static EndpointDescription updateEndpoint(ServiceDescription serviceDescription, Class sei, EndpointReference epr, String addressingNamespace, DescriptionFactory.UpdateType updateType, DescriptionBuilderComposite composite, Object sparseCompositeKey, String bindingId, String endpointAddress)
serviceDescription
- sei
- portQName
- updateType
- composite
- updateEndpoint(ServiceDescription, Class, QName, org.apache.axis2.jaxws.description.DescriptionFactory.UpdateType)
public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap)
dbcMap
- A HashMap keyed on class name with a value for the DBC for that classnamepublic static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, ConfigurationContext configContext)
dbcMap
- A HashMap keyed on class name with a value for the DBC for that classnameconfigContext
- ConfigurationContext used to get WSDL Definition configuration parameters.public static List<ServiceDescription> createServiceDescriptionFromDBCMap(HashMap<String,DescriptionBuilderComposite> dbcMap, ConfigurationContext configContext, boolean performVaidation)
dbcMap
- A HashMap keyed on class name with a value for the DBC for that classnameconfigContext
- ConfigurationContext used to get WSDL Definition configuration parameters.isValid
- public static ServiceDescription createServiceDescription(Class serviceImplClass)
serviceImplClass
- A Web Service implementation class (i.e. one that carries an
WebService or WebServiceProvider annotation).public static AxisService createAxisService(Class serviceImplClass)
serviceImplClass
- A Web Service implementation class (i.e. one that carries an
WebService or WebServiceProvider annotation).public static AxisService createAxisService(Class serviceImplClass, ConfigurationContext configContext)
serviceImplClass
- A Web Service implementation class (i.e. one that carries an
WebService or WebServiceProvider annotation).public static ClientConfigurationFactory createClientConfigurationFactory()
public static ResolvedHandlersDescription createResolvedHandlersDescription()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.