@Override
  public final synchronized Object lazyGetOtherBean(
    final String pBeanName) throws Exception {
    if (getDataSourceName().equals(pBeanName)) {
      return lazyGetDataSource();
    } else {
      return lazyGetOtherRdbmsBean(pBeanName);
    }
  }
@ Override public final synchronized Object lazyGetOtherBean ( final String pBeanName ) throws Exception { if ( getDataSourceName ( ) . equals ( pBeanName ) ) { return lazyGetDataSource ( ) ; } else { return lazyGetOtherRdbmsBean ( pBeanName ) ; } }
<p>Get other bean in lazy mode (if bean is null then initialize it).</p>
@param pBeanName - bean name
@return Object - requested bean
@throws Exception - an exception