it.imolinfo.jbi4corba.jbi.cxf
Class Jbi4CorbaServiceConfiguration

java.lang.Object
  extended by org.apache.cxf.service.factory.AbstractServiceConfiguration
      extended by org.apache.cxf.service.factory.DefaultServiceConfiguration
          extended by it.imolinfo.jbi4corba.jbi.cxf.Jbi4CorbaServiceConfiguration

public class Jbi4CorbaServiceConfiguration
extends org.apache.cxf.service.factory.DefaultServiceConfiguration

CXF Service Configuration that ovverides the minOccurss calculation for the wrapper types. With this calss we can force not-null message part (is not possible to force that using jax-ws 2.1 - should be possible woth jax-ws 2.2). See http://www.nabble.com/CXF---JAXB-%22Java-first-approach%22---remove-minOccurs%3D%220%22-td21692084.html#a22052705

Author:
marco

Field Summary
 
Fields inherited from class org.apache.cxf.service.factory.AbstractServiceConfiguration
serviceNamespace
 
Constructor Summary
Jbi4CorbaServiceConfiguration()
           
 
Method Summary
 Long getWrapperPartMaxOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
          Returns always "1".
 Long getWrapperPartMinOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
          Returns always "1".
 
Methods inherited from class org.apache.cxf.service.factory.DefaultServiceConfiguration
createName, getEndpointName, getFaultName, getHolderType, getInParameterName, getInPartName, getInputMessageName, getInterfaceName, getOperationName, getOutParameterName, getOutPartName, getOutputMessageName, getServiceName, getServiceNamespace, hasOutMessage, isAsync, isHeader, isHolder, isInParam, isOperation, isOutParam, isWrapped, isWrapperPartNillable
 
Methods inherited from class org.apache.cxf.service.factory.AbstractServiceConfiguration
getAction, getMEP, getRequestWrapper, getRequestWrapperClassName, getRequestWrapperName, getResponseWrapper, getResponseWrapperClassName, getResponseWrapperName, getResponseWrapperPartName, getServiceFactory, getStyle, getWsdlURL, isRPC, isWrapped, isWrapperPartQualified, setServiceFactory, setServiceNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbi4CorbaServiceConfiguration

public Jbi4CorbaServiceConfiguration()
Method Detail

getWrapperPartMinOccurs

public Long getWrapperPartMinOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
Returns always "1".

Overrides:
getWrapperPartMinOccurs in class org.apache.cxf.service.factory.DefaultServiceConfiguration

getWrapperPartMaxOccurs

public Long getWrapperPartMaxOccurs(org.apache.cxf.service.model.MessagePartInfo mpi)
Returns always "1".

Overrides:
getWrapperPartMaxOccurs in class org.apache.cxf.service.factory.DefaultServiceConfiguration


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.