sdk/src/com/socialize/networks/facebook/FacebookFacadeFactory.java
@Override
	public String getBeanName(Object parent, Container container) {
		if(FORCE_V2) {
			return v2BeanName;
		}
		
		if(beanName == null) {
			try {
				Class.forName("com.facebook.Session");
				// We assume that if this class exists, we are v3+
				beanName = v3BeanName;
			}
			catch (ClassNotFoundException e) {
				beanName = v2BeanName;
			}
		}
		
		return beanName;
	}
@Override
	public String getBeanName(Object parent, Container container) {
		if(FORCE_V2) {
			return v2BeanName;
		}
		
		if(beanName == null) {
			try {
				Class.forName("com.facebook.Session");
				// We assume that if this class exists, we are v3+
				beanName = v3BeanName;
			}
			catch (ClassNotFoundException e) {
				beanName = v2BeanName;
			}
		}
		
		return beanName;
	}
@ Override public String getBeanName ( Object parent , Container container ) { if ( FORCE_V2 ) { return v2BeanName ; } if ( beanName == null ) { try { Class . forName ( "com.facebook.Session" ) ; // We assume that if this class exists, we are v3+ beanName = v3BeanName ; } catch ( ClassNotFoundException e ) { beanName = v2BeanName ; } } return beanName ; }
/* (non-Javadoc)
@see com.socialize.android.ioc.IBeanMaker#getBeanName(java.lang.Object, com.socialize.android.ioc.Container)
/ * ( non - Javadoc )