code: public void setConnectionFactory(XAConnectionFactory connectionFactory) {
  		this.connectionFactory = connectionFactory;
  		setClassName(DirectXAConnectionFactory.class.getName());
  		setDriverProperties(new Properties());
  	}
docs: Set the {@link XAConnectionFactory} directly, instead of calling
  {@link #setClassName(String)}.
  @param connectionFactory the connection factory to use