com.sun.xml.ws.db.sdo.SDOContextFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdo-eclipselink-plugin Show documentation
Show all versions of sdo-eclipselink-plugin Show documentation
Pluggable databinding module employing Eclipselink SDO
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