I'm using the below code to fetch the all reference classes in-order to activate it :
String filter = "(component.factory=com.requestclasses.mypack)";
bundleContext = componentContext.getBundleContext();
ServiceReference[] references = bundleContext.getAllServiceReferences(ComponentFactory.class.getCanonicalName(), filter);
But in reference i'm not getting all the classes.I'm not sure whether the issue is with code or AEM 5.6 . Any suggestions ?