List of usage examples for org.springframework.beans.factory FactoryBean getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.piraso.server.sql.SQLContextLogger.java
/** * Wraps the given {@link FactoryBean<DataSource>} to add support for context logging. * * @param beanFactory {@link FactoryBean<DataSource>} to add context logging support. * @param id the unique identification for this dataSource. * @return the proxy {@link FactoryBean<DataSource>} with context logging support. *//*w w w. ja v a 2s . c o m*/ public static FactoryBean createFactory(FactoryBean beanFactory, String id) { DataSourceBeanProxyFactory proxyFactory = new DataSourceBeanProxyFactory(beanFactory.getClass(), new GroupChainId(id)); return proxyFactory.getProxy(beanFactory); }