com.sun.xml.ws.db
Class DatabindingFactoryImpl

java.lang.Object
  extended by org.jvnet.ws.databinding.DatabindingFactory
      extended by com.sun.xml.ws.api.databinding.DatabindingFactory
          extended by com.sun.xml.ws.db.DatabindingFactoryImpl

public class DatabindingFactoryImpl
extends DatabindingFactory

DatabindingFactoryImpl


Nested Class Summary
(package private) static class DatabindingFactoryImpl.ConfigBuilder
           
 
Field Summary
protected  DatabindingProvider defaultRuntimeFactory
           
protected  Map<String,Object> properties
           
protected  List<DatabindingProvider> providers
           
(package private) static String WsRuntimeFactoryDefaultImpl
           
 
Constructor Summary
DatabindingFactoryImpl()
           
 
Method Summary
(package private)  ClassLoader classLoader()
           
 org.jvnet.ws.databinding.Databinding.Builder createBuilder(Class<?> contractClass, Class<?> endpointClass)
          Creates a new instance of a Databinding.Builder which is initialized with the specified contractClass and endpointClass.
 org.jvnet.ws.databinding.Databinding createRuntime(DatabindingConfig config)
          Creates a new instance of a WsRuntime which is initialized with the specified configuration object.
 org.jvnet.ws.databinding.Databinding.WSDLGenerator createWsdlGen(DatabindingConfig config)
           
(package private)  String databindingMode(DatabindingConfig config)
           
(package private)  Properties loadPropertiesFile(String fileName)
           
 Map<String,Object> properties()
          Access properties on the WsFactory instance.
(package private)
<T> T
property(Class<T> propType, String propName)
           
 DatabindingProvider provider(DatabindingConfig config)
           
 
Methods inherited from class com.sun.xml.ws.api.databinding.DatabindingFactory
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WsRuntimeFactoryDefaultImpl

static final String WsRuntimeFactoryDefaultImpl
See Also:
Constant Field Values

properties

protected Map<String,Object> properties

defaultRuntimeFactory

protected DatabindingProvider defaultRuntimeFactory

providers

protected List<DatabindingProvider> providers
Constructor Detail

DatabindingFactoryImpl

public DatabindingFactoryImpl()
Method Detail

properties

public Map<String,Object> properties()
Description copied from class: DatabindingFactory
Access properties on the WsFactory instance.

Specified by:
properties in class DatabindingFactory
Returns:
properties of this WsFactory

property

<T> T property(Class<T> propType,
               String propName)

provider

public DatabindingProvider provider(DatabindingConfig config)

createRuntime

public org.jvnet.ws.databinding.Databinding createRuntime(DatabindingConfig config)
Description copied from class: DatabindingFactory
Creates a new instance of a WsRuntime which is initialized with the specified configuration object.

Specified by:
createRuntime in class DatabindingFactory
Parameters:
config - the EndpointRuntimeConfig to init this WsRuntime
Returns:
New instance of a WsRuntime

createWsdlGen

public org.jvnet.ws.databinding.Databinding.WSDLGenerator createWsdlGen(DatabindingConfig config)

databindingMode

String databindingMode(DatabindingConfig config)

classLoader

ClassLoader classLoader()

loadPropertiesFile

Properties loadPropertiesFile(String fileName)

createBuilder

public org.jvnet.ws.databinding.Databinding.Builder createBuilder(Class<?> contractClass,
                                                                  Class<?> endpointClass)
Description copied from class: org.jvnet.ws.databinding.DatabindingFactory
Creates a new instance of a Databinding.Builder which is initialized with the specified contractClass and endpointClass. The most importance initial states of a Builder object is the contract class which is also called "service endpoint interface" or "SEI" in JAX-WS and JAX-RPC, and the implementation bean class (endpointClass). The the implementation bean class (endpointClass) should be null if the Builder is to create the client side proxy databinding.

Specified by:
createBuilder in class org.jvnet.ws.databinding.DatabindingFactory
Parameters:
contractClass - The service endpoint interface class
endpointClass - The service implementation bean class
Returns:
New instance of a Databinding.Builder


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.