com.sun.xml.ws.db
Class DatabindingFactoryImpl.ConfigBuilder

java.lang.Object
  extended by com.sun.xml.ws.db.DatabindingFactoryImpl.ConfigBuilder
All Implemented Interfaces:
org.jvnet.ws.databinding.Databinding.Builder
Enclosing class:
DatabindingFactoryImpl

static class DatabindingFactoryImpl.ConfigBuilder
extends Object
implements org.jvnet.ws.databinding.Databinding.Builder


Field Summary
(package private)  DatabindingConfig config
           
(package private)  DatabindingFactoryImpl factory
           
 
Constructor Summary
DatabindingFactoryImpl.ConfigBuilder(DatabindingFactoryImpl f, Class<?> contractClass, Class<?> implBeanClass)
           
 
Method Summary
 org.jvnet.ws.databinding.Databinding build()
          Builds a new Databinding instance
 org.jvnet.ws.databinding.Databinding.Builder classLoader(ClassLoader classLoader)
          Sets the ClassLoader which is used to load the service endpoint interface, implementation bean, and all the value types.
 org.jvnet.ws.databinding.Databinding.WSDLGenerator createWSDLGenerator()
          Creates the WSDLGenerator which can be used to generate the WSDL representation of the service endpoint interface of this Databinding object.
 org.jvnet.ws.databinding.Databinding.Builder entityResolver(EntityResolver entityResolver)
          Sets the EntityResolver for reading the WSDL
 org.jvnet.ws.databinding.Databinding.Builder feature(WebServiceFeature... f)
          Sets A list of WebServiceFeatures
(package private)  boolean isfor(Class<?> type, String name, Object value)
           
 org.jvnet.ws.databinding.Databinding.Builder portName(QName portName)
          Sets the port name of the WSDL
 org.jvnet.ws.databinding.Databinding.Builder property(String name, Object value)
          Sets A property of the Databinding object to be created
 org.jvnet.ws.databinding.Databinding.Builder serviceName(QName serviceName)
          Sets the service name of the WSDL
 org.jvnet.ws.databinding.Databinding.Builder targetNamespace(String targetNamespace)
          Sets the targetNamespace of the WSDL
 org.jvnet.ws.databinding.Databinding.Builder wsdlSource(Source wsdlSource)
          Sets the WSDL Source where the WSDL can be read from
 org.jvnet.ws.databinding.Databinding.Builder wsdlURL(URL wsdlURL)
          Sets the WSDL URL where the WSDL can be read from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

DatabindingConfig config

factory

DatabindingFactoryImpl factory
Constructor Detail

DatabindingFactoryImpl.ConfigBuilder

DatabindingFactoryImpl.ConfigBuilder(DatabindingFactoryImpl f,
                                     Class<?> contractClass,
                                     Class<?> implBeanClass)
Method Detail

targetNamespace

public org.jvnet.ws.databinding.Databinding.Builder targetNamespace(String targetNamespace)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the targetNamespace of the WSDL

Specified by:
targetNamespace in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
targetNamespace - The targetNamespace to set
Returns:
this Builder instance

serviceName

public org.jvnet.ws.databinding.Databinding.Builder serviceName(QName serviceName)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the service name of the WSDL

Specified by:
serviceName in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
serviceName - The serviceName to set
Returns:
this Builder instance

portName

public org.jvnet.ws.databinding.Databinding.Builder portName(QName portName)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the port name of the WSDL

Specified by:
portName in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
portName - The portName to set
Returns:
this Builder instance

wsdlURL

public org.jvnet.ws.databinding.Databinding.Builder wsdlURL(URL wsdlURL)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the WSDL URL where the WSDL can be read from

Specified by:
wsdlURL in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
wsdlURL - The wsdlURL to set
Returns:
this Builder instance

wsdlSource

public org.jvnet.ws.databinding.Databinding.Builder wsdlSource(Source wsdlSource)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the WSDL Source where the WSDL can be read from

Specified by:
wsdlSource in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
wsdlSource - The wsdlSource to set
Returns:
this Builder instance

entityResolver

public org.jvnet.ws.databinding.Databinding.Builder entityResolver(EntityResolver entityResolver)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the EntityResolver for reading the WSDL

Specified by:
entityResolver in interface org.jvnet.ws.databinding.Databinding.Builder
Returns:
this Builder instance

classLoader

public org.jvnet.ws.databinding.Databinding.Builder classLoader(ClassLoader classLoader)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets the ClassLoader which is used to load the service endpoint interface, implementation bean, and all the value types. If this value is not set, the default it uses contractClass.getClassLoader().

Specified by:
classLoader in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
classLoader - The classLoader to set
Returns:
this Builder instance

feature

public org.jvnet.ws.databinding.Databinding.Builder feature(WebServiceFeature... f)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets A list of WebServiceFeatures

Specified by:
feature in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
f - The list of WebServiceFeatures
Returns:
this Builder instance

property

public org.jvnet.ws.databinding.Databinding.Builder property(String name,
                                                             Object value)
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Sets A property of the Databinding object to be created

Specified by:
property in interface org.jvnet.ws.databinding.Databinding.Builder
Parameters:
name - The name of the property
value - The value of the property
Returns:
this Builder instance

isfor

boolean isfor(Class<?> type,
              String name,
              Object value)

build

public org.jvnet.ws.databinding.Databinding build()
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Builds a new Databinding instance

Specified by:
build in interface org.jvnet.ws.databinding.Databinding.Builder
Returns:
The Builder instance

createWSDLGenerator

public org.jvnet.ws.databinding.Databinding.WSDLGenerator createWSDLGenerator()
Description copied from interface: org.jvnet.ws.databinding.Databinding.Builder
Creates the WSDLGenerator which can be used to generate the WSDL representation of the service endpoint interface of this Databinding object.

Specified by:
createWSDLGenerator in interface org.jvnet.ws.databinding.Databinding.Builder
Returns:
WSDLGenerator The WSDLGenerator


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