Example usage for org.springframework.core InfrastructureProxy interface-usage

List of usage examples for org.springframework.core InfrastructureProxy interface-usage

Introduction

In this page you can find the example usage for org.springframework.core InfrastructureProxy interface-usage.

Usage

From source file org.trpr.dataaccess.orm.ShardRoutingDataSource.java

/**
 * The <code>ShardRoutingDataSource</code> is a {@link AbstractRoutingDataSource} that routes
 * the {@link #getConnection()} method to one of the configured target DataSources based on a lookup
 * key determined by the {@link ShardedEntity#getShardHint()} call.
 * The ShardedPersistentEntity is retrieved from {@link ShardedEntityContextHolder#getShardedEntity()} 
 * This data source is a Spring {@link InfrastructureProxy} that returns the actual data source from which a connection was/could have been 

From source file org.grails.orm.hibernate.SessionFactoryProxy.java

/**
 * <p>Proxies the SessionFactory allowing for the underlying SessionFactory instance to be replaced at runtime.
 * Used to enable rebuilding of the SessionFactory at development time</p>
 *
 * <p>NOTE: This class is not for production use and is development time only!</p>
 *