for(int i = 0; i < interfacesToProxyAs.length; i++) {
ifaces[i] = Class.forName(interfacesToProxyAs[i]);
}
TransactionProxyFactoryBean txfb = new TransactionProxyFactoryBean();
txfb.setTransactionManager(new PersistenceBrokerTransactionManager());
Properties txProps = new Properties();
txProps.setProperty("*", "PROPAGATION_REQUIRED");
txfb.setTransactionAttributes(txProps);
txfb.setTarget(object);
txfb.setProxyInterfaces(ifaces);