oFilter = new Filter();
oDocumentHandler = new DocumentHandler();
oThreadRunner = new ThreadRunner(xMSF);
oCeptor = new DispatchProviderInterceptor() ;
oAttributeList = new AttributeList();
XSet xMSFSet = (XSet)UnoRuntime.queryInterface(XSet.class, xMSF);
try {
xMSFSet.insert(oHandler);
xMSFSet.insert(oConnector);
xMSFSet.insert(oFilter);
xMSFSet.insert(oDocumentHandler);
xMSFSet.insert(oThreadRunner);
xMSFSet.insert(oCeptor);
xMSFSet.insert(oAttributeList);
} catch (ElementExistException e) {
System.out.println(e.toString());
} catch (IllegalArgumentException e) {
System.out.println(e.toString());
}