* @param mixinCalledFromLoader
* @return the factory, put in cache based on mixin class as a key
*/
public static MixinFactory getFactory(final Class mixinClass, final ClassLoader mixinCalledFromLoader) {
synchronized (MIXIN_FACTORIES) {
MixinFactory factory = (MixinFactory) MIXIN_FACTORIES.get(mixinClass);
if (factory == null) {
factory = createMixinFactory(mixinClass, mixinCalledFromLoader);
//FIXME by using a lookup by uuid/aspectNickName
// right now broken since we have 1 container per mixin CLASS while the definition
// does allow for some mix (several mixin, several container, same mixin class)