Package com.sun.xml.ws.api.databinding
Class DatabindingFactory
- java.lang.Object
-
- com.oracle.webservices.api.databinding.DatabindingFactory
-
- com.sun.xml.ws.api.databinding.DatabindingFactory
-
- Direct Known Subclasses:
DatabindingFactoryImpl
public abstract class DatabindingFactory extends DatabindingFactory
WsFactory is the entry point of all the ws-databinding APIs. A WsFactory instance can be used to createWsTool,WsRuntime,XsTool, andXsRuntimeinstances.Following is an example that creates a
WsToolwhich provides the operations for "WSDL to JAVA" and "JAVA to WSDL":
WsFactory wsfac = WsFactory.newInstance(); WsTool tool = wsfac.createTool(); GenerationStatus status = tool.generateWsdl(javaToWsdkInfo);Following is an example that creates a
WsRuntimewhich provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
WsFactory wsfac = WsFactory.newInstance(); WsRuntime rt = wsfac.createRuntime(wsRuntimeConfig);- Author:
- shih-chang.chen@oracle.com
- See Also:
Databinding
-
-
Constructor Summary
Constructors Constructor Description DatabindingFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DatabindingcreateRuntime(DatabindingConfig config)Creates a new instance of aWsRuntimewhich is initialized with the specified configuration object.static DatabindingFactorynewInstance()Create a new instance of aWsFactory.abstract Map<String,Object>properties()Access properties on theWsFactoryinstance.-
Methods inherited from class com.oracle.webservices.api.databinding.DatabindingFactory
createBuilder
-
-
-
-
Method Detail
-
createRuntime
public abstract Databinding createRuntime(DatabindingConfig config)
Creates a new instance of aWsRuntimewhich is initialized with the specified configuration object.- Parameters:
config- the EndpointRuntimeConfig to init this WsRuntime- Returns:
- New instance of a
WsRuntime
-
properties
public abstract Map<String,Object> properties()
Access properties on theWsFactoryinstance.- Specified by:
propertiesin classDatabindingFactory- Returns:
- properties of this WsFactory
-
newInstance
public static DatabindingFactory newInstance()
Create a new instance of aWsFactory. This static method creates a new factory instance. Once an application has obtained a reference to aWsFactoryit can use the factory to configure and obtainWsToolandWsRuntimeinstances.- Returns:
- New instance of a
WsFactory
-
-