AbstractWSDLOperationDataBindingCallback.java :  » ESB » celtix-1.0 » org » objectweb » celtix » bus » bindings » Java Open Source

Java Open Source » ESB » celtix 1.0 
celtix 1.0 » org » objectweb » celtix » bus » bindings » AbstractWSDLOperationDataBindingCallback.java
package org.objectweb.celtix.bus.bindings;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;
import javax.xml.namespace.QName;

import org.objectweb.celtix.bindings.DataBindingCallback;
import org.objectweb.celtix.bindings.DataBindingCallback.Mode;
import org.objectweb.celtix.bindings.DataReader;
import org.objectweb.celtix.bindings.DataWriter;

public abstract class AbstractWSDLOperationDataBindingCallback implements DataBindingCallback {
    protected WSDLOperationInfo operation;
    
    public AbstractWSDLOperationDataBindingCallback(WSDLOperationInfo op) {
        operation = op;
    }
    
    public WSDLOperationInfo getOperationInfo() {
        return operation;
    }
    
    
    public abstract Mode getMode();
    public abstract Class<?>[] getSupportedFormats();
    public abstract <T> DataWriter<T> createWriter(Class<T> cls);
    public abstract <T> DataReader<T> createReader(Class<T> cls);
    
    public boolean isOneWay() {
        return operation.isOneWay();
    }
    
    public Style getSOAPStyle() {
        return operation.getSOAPStyle();
    }

    public Use getSOAPUse() {
        return operation.getSOAPUse();
    }

    public ParameterStyle getSOAPParameterStyle() {
        return operation.getSOAPParameterStyle();
    }

    public String getOperationName() {
        return operation.getOperationName();
    }

    public String getTargetNamespace() {
        return operation.getTargetNamespace();
    }

    public String getSOAPAction() {
        return operation.getSOAPAction();
    }

    public WebResult getWebResult() {
        return operation.getWebResult();
    }

    public QName getWebResultQName() {
        return operation.getWebResultQName();
    }

    public WebParam getWebParam(int index) {
        return operation.getWebParam(index);
    }

    public int getParamsLength() {
        return operation.getParamsLength();
    }

    public QName getRequestWrapperQName() {
        return operation.getRequestWrapperQName();
    }

    public QName getResponseWrapperQName() {
        return operation.getResponseWrapperQName();
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.