JavaInterfaceFactory javaFactory = factories.getFactory(JavaInterfaceFactory.class);
JavaImplementationFactory javaImplementationFactory = factories.getFactory(JavaImplementationFactory.class);
BaseJavaClassVisitor[] extensions =
new BaseJavaClassVisitor[] {new ConstructorProcessor(assemblyFactory),
new AllowsPassByReferenceProcessor(assemblyFactory),
new ComponentNameProcessor(assemblyFactory),
new ContextProcessor(assemblyFactory),
new ConversationIDProcessor(assemblyFactory),
new ConversationProcessor(assemblyFactory),
new DestroyProcessor(assemblyFactory), new EagerInitProcessor(assemblyFactory),