public class ConfluenceSpringContextInstanceFactory
implements com.atlassian.crowd.util.InstanceFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Overrides the getInstance(Class) method such that certain beans are created from a prototyped scope. This allows
us to override the definition of what beans are used in the constructor. This fixes a problem where spring is unable to
determine which class to use for the interface com.atlassian.crowd.search.ldap.LDAPQueryTranslater because there
are two definitions of this bean.