*
* @return a new Introspector
*/
public Introspector createIntrospector(JavaInterfaceProcessorRegistry registry) {
ImplementationProcessorService service = new ImplementationProcessorServiceImpl(registry);
IntrospectionRegistryImpl introspectionRegistry =
new IntrospectionRegistryImpl(monitorFactory.getMonitor(IntrospectionRegistryImpl.Monitor.class));
introspectionRegistry.registerProcessor(new ConstructorProcessor(service));
introspectionRegistry.registerProcessor(new DestroyProcessor());
introspectionRegistry.registerProcessor(new InitProcessor());
introspectionRegistry.registerProcessor(new ScopeProcessor());
introspectionRegistry.registerProcessor(new PropertyProcessor(service));
introspectionRegistry.registerProcessor(new ReferenceProcessor(registry));
introspectionRegistry.registerProcessor(new ServiceProcessor(service));
introspectionRegistry.registerProcessor(new HeuristicPojoProcessor(service));
introspectionRegistry.registerProcessor(new MonitorProcessor(monitorFactory, service));
return introspectionRegistry;
}