Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- updating ioServices used in FileService to produce FileServiceIoSer…

…vices
  • Loading branch information...
commit ea2815286d3372e088b1bbcc4c9cba87bd8fedec 1 parent 9a6ac07
@Salaboy Salaboy authored
View
2  ...services/droolsjbpm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/CDISessionManager.java
@@ -75,7 +75,7 @@
@Inject
private WorkItemHandlerProducer workItemHandlerProducer;
@Inject
- @Named("ioStrategy")
+ @Named("fileServiceIOStrategy")
private IOService ioService;
private Domain domain;
// Ksession Name / Ksession
View
2  ...droolsjbpm-knowledge-services/src/main/java/org/droolsjbpm/services/impl/KnowledgeDomainServiceImpl.java
@@ -64,7 +64,7 @@
@Inject
private FileService fs;
@Inject
- @Named("ioStrategy")
+ @Named("fileServiceIOStrategy")
private IOService ioService;
@Inject
View
6 jbpm-services/jbpm-shared-services/src/main/java/org/jbpm/shared/services/impl/VFSFileServiceImpl.java
@@ -20,9 +20,9 @@
import java.util.HashMap;
import java.util.Map;
import javax.annotation.PostConstruct;
-import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Named;
+import javax.inject.Singleton;
import org.jbpm.shared.services.api.FileException;
import org.jbpm.shared.services.api.FileService;
@@ -38,7 +38,7 @@
/**
*
*/
-@ApplicationScoped
+@Singleton
public class VFSFileServiceImpl implements FileService {
private static final String REPO_PLAYGROUND = "git://jbpm-playground";
@@ -116,7 +116,7 @@ public boolean accept( final Path entry ) throws IOException {
}
@Produces
- @Named("ioStrategy")
+ @Named("fileServiceIOStrategy")
public IOService ioService() {
return ioService;
}
Please sign in to comment.
Something went wrong with that request. Please try again.