throw new StatusException("Couldn't create instance", e);
}
// Creating construction :
// ObjectOutputStream -> MarkableOutputStream -> Pipe ->
// -> MarkableInputStream -> ObjectInputStream
XActiveDataSource xdSo = (XActiveDataSource)
UnoRuntime.queryInterface(XActiveDataSource.class, ostream);
XActiveDataSource xdSmo = (XActiveDataSource)
UnoRuntime.queryInterface(XActiveDataSource.class, mostream);
XOutputStream moStream = (XOutputStream)
UnoRuntime.queryInterface(XOutputStream.class, mostream);
XOutputStream PipeOut = (XOutputStream)
UnoRuntime.queryInterface(XOutputStream.class, aPipe);
XInputStream PipeIn = (XInputStream)
UnoRuntime.queryInterface(XInputStream.class, aPipe);
xdSo.setOutputStream(moStream);
xdSmo.setOutputStream(PipeOut);
XObjectInputStream iStream = (XObjectInputStream)
UnoRuntime.queryInterface(XObjectInputStream.class, istream);
XObjectOutputStream oStream = null;
oStream = (XObjectOutputStream)