All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.db.sdo.SDOContextFactory Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package com.sun.xml.ws.db.sdo;

import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;

import com.sun.xml.ws.spi.db.BindingContext;
import com.sun.xml.ws.spi.db.BindingContextFactory;
import com.sun.xml.ws.spi.db.BindingInfo;

public class SDOContextFactory extends BindingContextFactory {

    @Override
    protected BindingContext newContext(JAXBContext context) {
        return null;
    }

    @Override
    protected BindingContext newContext(BindingInfo bi) {
        return new SDOContextWrapper(bi.properties());
    }

    @Override
    protected boolean isFor(String str) {
        return (str.equals("toplink.sdo") ||
                str.equals("eclipselink.sdo")||
                str.equals(this.getClass().getName())||
                str.equals("org.eclipse.persistence.sdo"));
    }

    @Override
    protected BindingContext getContext(Marshaller m) {
        // TODO Auto-generated method stub
        return null;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy