You can do this in Hibernate 4.3:

```java
public StandardServiceRegistry getInstance() {
    StandardServiceRegistryBuilder builder = new StandardServiceRegistryBuilder();
    return builder.applySettings(cfg.getProperties()).build();
}
```