package org.jboss.tools.hibernate.runtime.v_4_0.internal;
import org.hibernate.cfg.Configuration;
import org.jboss.tools.hibernate.runtime.common.AbstractFacadeFactory;
import org.jboss.tools.hibernate.runtime.spi.IConfiguration;
import org.jboss.tools.hibernate.runtime.spi.IPersistentClass;
import org.jboss.tools.hibernate.runtime.spi.IProperty;
public class FacadeFactoryImpl extends AbstractFacadeFactory {
public ClassLoader getClassLoader() {
return FacadeFactoryImpl.class.getClassLoader();
}
@Override
public IConfiguration createConfiguration(Object target) {
return new ConfigurationFacadeImpl(this, (Configuration)target);
}
@Override
public IPersistentClass createSpecialRootClass(IProperty property) {
return new SpecialRootClassFacadeImpl(this, property);
}
}