505152535455565758
private WeakReference<KieServicesEventListerner> listener; public ResourceFactoryService getResourceFactory() { if ( resourceFactory == null ) { this.resourceFactory = new ResourceFactoryServiceImpl(); } return resourceFactory; }
127128129130131132133
return scanner; } public KieResources getResources() { // instantiating directly, but we might want to use the service registry instead return new ResourceFactoryServiceImpl(); }
434445464748495051
private KnowledgeBaseFactoryService factoryService; public ResourceFactoryService getResourceFactory() { if ( resourceFactory == null ) { this.resourceFactory = new ResourceFactoryServiceImpl(); } return resourceFactory; }
101102103104105106107
118119120121122123124
353637383940414243
private final Object lock = new Object(); public ResourceFactoryService getResourceFactory() { if ( resourceFactory == null ) { this.resourceFactory = new ResourceFactoryServiceImpl(); } return resourceFactory; }
93949596979899
444546474849505152
102103104105106107108
424344454647484950