|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.DescriptionFactory
public class DescriptionFactory
Creates the JAX-WS metadata descritpion hierachy from some combinations of WSDL, Java class information including annotations, and (in the future) deployment descriptors.
Nested Class Summary | |
---|---|
static class |
DescriptionFactory.UpdateType
The type of update being done for a particular Port. |
Method Summary | |
---|---|
static AxisService |
createAxisService(java.lang.Class serviceImplClass)
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 ServiceDescription |
createServiceDescription(java.lang.Class serviceImplClass)
Create a full ServiceDescription hierachy on the SERVER side for a single service implementation class. |
static ServiceDescription |
createServiceDescription(java.net.URL wsdlURL,
QName serviceQName,
java.lang.Class serviceClass)
Create the initial ServiceDescription hierachy on the CLIENT side. |
static java.util.List<ServiceDescription> |
createServiceDescriptionFromDBCMap(java.util.HashMap<java.lang.String,DescriptionBuilderComposite> dbcMap)
Create a full ServiceDescription hierachy on the SERVER side for EACH service implementation entry in the DescriptionBuilderComposite (DBC) map. |
static ServiceDescription |
createServiceDescriptionFromServiceImpl(java.lang.Class serviceImplClass,
AxisService axisService)
Deprecated. Use createServiceDescriptionFromDBCMap(HashMap) |
static EndpointDescription |
updateEndpoint(ServiceDescription serviceDescription,
java.lang.Class sei,
QName portQName,
DescriptionFactory.UpdateType updateType)
Retrieve or create the EndpointDescription hierachy associated with an existing CLIENT side ServiceDescription for a particular port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServiceDescription createServiceDescription(java.net.URL wsdlURL, QName serviceQName, java.lang.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 EndpointDescription updateEndpoint(ServiceDescription serviceDescription, java.lang.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 java.util.List<ServiceDescription> createServiceDescriptionFromDBCMap(java.util.HashMap<java.lang.String,DescriptionBuilderComposite> dbcMap)
dbcMap
- A HashMap keyed on class name with a value for the DBC for that classname
public static ServiceDescription createServiceDescription(java.lang.Class serviceImplClass)
serviceImplClass
- A Web Service implementation class (i.e. one that carries an
WebService or WebServiceProvider annotation).
public static AxisService createAxisService(java.lang.Class serviceImplClass)
serviceImplClass
- A Web Service implementation class (i.e. one that carries an
WebService or WebServiceProvider annotation).
public static ServiceDescription createServiceDescriptionFromServiceImpl(java.lang.Class serviceImplClass, AxisService axisService)
createServiceDescriptionFromDBCMap(HashMap)
serviceImplClass
- A service implementation class with annotationsaxisService
- A FULLY POPULATED AxisService including all of the underlying
description objects such as AxisOperations.
public static ClientConfigurationFactory createClientConfigurationFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |