Java 类org.hibernate.tuple.Instantiator 实例源码

项目:lams    文件:PojoEntityTuplizer.java   
@Override
   protected Instantiator buildInstantiator(PersistentClass persistentClass) {
    if ( optimizer == null ) {
        return new PojoInstantiator( persistentClass, null );
    }
    else {
        return new PojoInstantiator( persistentClass, optimizer.getInstantiationOptimizer() );
    }
}
项目:lams    文件:PojoEntityTuplizer.java   
@Override
protected Instantiator buildInstantiator(EntityBinding entityBinding) {
    if ( optimizer == null ) {
        return new PojoInstantiator( entityBinding, null );
    }
    else {
        return new PojoInstantiator( entityBinding, optimizer.getInstantiationOptimizer() );
    }
}
项目:lams    文件:PojoComponentTuplizer.java   
protected Instantiator buildInstantiator(Component component) {
    if ( component.isEmbedded() && ReflectHelper.isAbstractClass( component.getComponentClass() ) ) {
        return new ProxiedInstantiator( component );
    }
    if ( optimizer == null ) {
        return new PojoInstantiator( component, null );
    }
    else {
        return new PojoInstantiator( component, optimizer.getInstantiationOptimizer() );
    }
}
项目:cacheonix-core    文件:PojoEntityTuplizer.java   
protected Instantiator buildInstantiator(PersistentClass persistentClass) {
    if ( optimizer == null ) {
        return new PojoInstantiator( persistentClass, null );
    }
    else {
        return new PojoInstantiator( persistentClass, optimizer.getInstantiationOptimizer() );
    }
}
项目:cacheonix-core    文件:PojoComponentTuplizer.java   
protected Instantiator buildInstantiator(Component component) {
    if ( component.isEmbedded() && ReflectHelper.isAbstractClass( component.getComponentClass() ) ) {
        return new ProxiedInstantiator( component );
    }
    if ( optimizer == null ) {
        return new PojoInstantiator( component, null );
    }
    else {
        return new PojoInstantiator( component, optimizer.getInstantiationOptimizer() );
    }
}
项目:lams    文件:AbstractEntityTuplizer.java   
protected final Instantiator getInstantiator() {
    return instantiator;
}
项目:lams    文件:DynamicMapEntityTuplizer.java   
@Override
   protected Instantiator buildInstantiator(PersistentClass mappingInfo) {
       return new DynamicMapInstantiator( mappingInfo );
}
项目:lams    文件:DynamicMapEntityTuplizer.java   
@Override
protected Instantiator buildInstantiator(EntityBinding mappingInfo) {
    return new DynamicMapInstantiator( mappingInfo );
}
项目:lams    文件:DynamicMapComponentTuplizer.java   
protected Instantiator buildInstantiator(Component component) {
    return new DynamicMapInstantiator();
}
项目:openbravo-brazil    文件:OBDynamicTuplizer.java   
@Override
protected Instantiator buildInstantiator(PersistentClass mappingInfo) {
  return new OBInstantiator(mappingInfo);
}
项目:openbravo-brazil    文件:OBTuplizer.java   
@Override
protected Instantiator buildInstantiator(PersistentClass mappingInfo) {
  return new OBInstantiator(mappingInfo);
}
项目:cacheonix-core    文件:AbstractEntityTuplizer.java   
protected final Instantiator getInstantiator() {
    return instantiator;
}
项目:cacheonix-core    文件:DynamicMapEntityTuplizer.java   
protected Instantiator buildInstantiator(PersistentClass mappingInfo) {
       return new DynamicMapInstantiator( mappingInfo );
}
项目:cacheonix-core    文件:Dom4jEntityTuplizer.java   
protected Instantiator buildInstantiator(PersistentClass persistentClass) {
    return new Dom4jInstantiator( persistentClass );
}
项目:cacheonix-core    文件:DynamicMapComponentTuplizer.java   
protected Instantiator buildInstantiator(Component component) {
    return new DynamicMapInstantiator();
}
项目:cacheonix-core    文件:Dom4jComponentTuplizer.java   
protected Instantiator buildInstantiator(Component component) {
    return new Dom4jInstantiator( component );
}
项目:cacheonix-core    文件:MyEntityTuplizer.java   
protected Instantiator buildInstantiator(PersistentClass persistentClass) {
    return new MyEntityInstantiator( persistentClass.getEntityName() );
}
项目:Lucee4    文件:AbstractEntityTuplizerImpl.java   
@Override
protected Instantiator buildInstantiator(PersistentClass persistentClass) {
    return new CFCInstantiator(persistentClass);
}
项目:jspresso-ce    文件:ProxyPojoComponentTuplizer.java   
/**
 * {@inheritDoc}
 */
@Override
protected Instantiator buildInstantiator(Component component) {
  return new ProxyInstantiator(component);
}
项目:lams    文件:AbstractEntityTuplizer.java   
/**
 * Build an appropriate Instantiator for the given mapped entity.
 *
 * @param mappingInfo The mapping information regarding the mapped entity.
 * @return An appropriate Instantiator instance.
 */
protected abstract Instantiator buildInstantiator(PersistentClass mappingInfo);
项目:lams    文件:AbstractEntityTuplizer.java   
/**
 * Build an appropriate Instantiator for the given mapped entity.
 *
 * @param mappingInfo The mapping information regarding the mapped entity.
 * @return An appropriate Instantiator instance.
 */
protected abstract Instantiator buildInstantiator(EntityBinding mappingInfo);
项目:cacheonix-core    文件:AbstractEntityTuplizer.java   
/**
 * Build an appropriate Instantiator for the given mapped entity.
 *
 * @param mappingInfo The mapping information regarding the mapped entity.
 * @return An appropriate Instantiator instance.
 */
protected abstract Instantiator buildInstantiator(PersistentClass mappingInfo);
项目:lams    文件:AbstractComponentTuplizer.java   
protected abstract Instantiator buildInstantiator(Component component);
项目:cacheonix-core    文件:AbstractComponentTuplizer.java   
protected abstract Instantiator buildInstantiator(Component component);