* fix(TDI-46572): tMap support Java17 (#4659)
* fix(TDI-46572):add jboss dependency to routines
* add to .m2
* fix(TDI-46572):advancedPersistentLookup lib upgrade
* replace advancedPersistentLookupLib jar
* change name
* format
* upgrade jar
* add back dependency
* remove LGPL dependency
* Remove binary jar and copy during build
* fix NPE
* test remove jboss from build
# Conflicts:
# main/plugins/org.talend.libraries.persist.lookup/META-INF/MANIFEST.MF
# main/plugins/org.talend.librariesmanager/META-INF/MANIFEST.MF
# main/plugins/org.talend.librariesmanager/build.properties
* fix(TDI-46923):add back jboss marshalling (#4711)
# Conflicts:
# main/plugins/org.talend.designer.maven.tos/resources/build/pom.xml
* fix(TDI-46937): fix tmap tuj (#4723)
* fix(TDI-46937): fix tmap tuj
* fix(TDI-46937):fix tuj
* fix(TDI-47147):tMap TUJ fix (#4817)
* Revert "fix(TDI-46937): fix tmap tuj (#4723)"
This reverts commit aacc14f92b.
* delete middle version
31 lines
812 B
Java
31 lines
812 B
Java
package routines.system;
|
|
|
|
import java.io.ObjectInputStream;
|
|
import java.io.ObjectOutputStream;
|
|
|
|
import org.jboss.marshalling.Marshaller;
|
|
import org.jboss.marshalling.Unmarshaller;
|
|
|
|
public interface IPersistableRow<R> {
|
|
|
|
public void writeData(ObjectOutputStream out);
|
|
|
|
public void readData(ObjectInputStream in);
|
|
|
|
|
|
default public void writeData(Marshaller marshaller){
|
|
//sub-class need to override this method
|
|
throw new UnsupportedOperationException("Method need to be override");
|
|
}
|
|
|
|
default public void readData(Unmarshaller in){
|
|
throw new UnsupportedOperationException("Method need to be override");
|
|
}
|
|
|
|
default public boolean supportJboss(){
|
|
//Override this method to return true after implement the Jboss methods above
|
|
return false;
|
|
}
|
|
|
|
}
|