Guvnor - Project Builder 6.0.0.CR1

org.guvnor.common.services.builder
Class BuildExecutorServiceFactoryImpl

java.lang.Object
  extended by org.guvnor.common.services.builder.BuildExecutorServiceFactoryImpl
All Implemented Interfaces:
BuildExecutorServiceFactory

@ApplicationScoped
public class BuildExecutorServiceFactoryImpl
extends Object
implements BuildExecutorServiceFactory

Producer for Executor services so we can plug-in a different implementation in tests


Constructor Summary
BuildExecutorServiceFactoryImpl()
           
 
Method Summary
 ExecutorService getExecutorService()
          Return an ExecutorService
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildExecutorServiceFactoryImpl

public BuildExecutorServiceFactoryImpl()
Method Detail

setup

@PostConstruct
public void setup()

getExecutorService

public ExecutorService getExecutorService()
Description copied from interface: BuildExecutorServiceFactory
Return an ExecutorService

Specified by:
getExecutorService in interface BuildExecutorServiceFactory
Returns:

Guvnor - Project Builder 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.