Tabnine Logo
NFlow.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.nitorcreations.nflow.engine.internal.config.NFlow
constructor

Best Java code snippets using com.nitorcreations.nflow.engine.internal.config.NFlow.<init> (Showing top 20 results out of 315)

origin: com.nitorcreations/nflow-engine

 @Inject
 public void setJdbcTemplate(@NFlow JdbcTemplate jdbcTemplate) {
  this.jdbc = jdbcTemplate;
 }
}
origin: com.nitorcreations/nflow-engine

 @Inject
 public void setJdbcTemplate(@NFlow JdbcTemplate jdbcTemplate) {
  this.jdbc = jdbcTemplate;
 }
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setObjectMapper(@NFlow ObjectMapper nflowObjectMapper) {
 this.nflowObjectMapper = nflowObjectMapper;
}
origin: com.nitorcreations/nflow-engine

@Inject
public ObjectStringMapper(@NFlow ObjectMapper nflowObjectMapper) {
 this.mapper = nflowObjectMapper;
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setTransactionTemplate(@NFlow TransactionTemplate transactionTemplate) {
 this.transaction = transactionTemplate;
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setJdbcTemplate(@NFlow JdbcTemplate jdbcTemplate) {
 this.jdbc = jdbcTemplate;
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setJdbcTemplate(@NFlow JdbcTemplate nflowJdbcTemplate) {
 this.jdbc = nflowJdbcTemplate;
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setNamedParameterJdbcTemplate(@NFlow NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate) {
 this.namedJdbc = nflowNamedParameterJdbcTemplate;
}
origin: com.nitorcreations/nflow-engine

@Inject
public void setNamedParameterJdbcTemplate(@NFlow NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate) {
 this.namedJdbc = nflowNamedParameterJdbcTemplate;
}
origin: com.nitorcreations/nflow-engine

@Bean
@NFlow
public TransactionTemplate nflowTransactionTemplate(PlatformTransactionManager platformTransactionManager) {
 return new TransactionTemplate(platformTransactionManager);
}
origin: com.nitorcreations/nflow-engine

 @Bean
 @NFlow
 public AbstractResource nflowNonSpringWorkflowsListing(Environment env) {
  String filename = env.getProperty("nflow.non_spring_workflows_filename");
  if (filename != null) {
   return new ClassPathResource(filename);
  }
  return null;
 }
}
origin: com.nitorcreations/nflow-engine

 @Bean(name = NFLOW_DATABASE_INITIALIZER)
 @NFlow
 public DatabaseInitializer nflowDatabaseInitializer(@NFlow DataSource dataSource, Environment env) {
  return new DatabaseInitializer(dbType, dataSource, env);
 }
}
origin: com.nitorcreations/nflow-engine

@Bean
@NFlow
@Scope(SCOPE_PROTOTYPE)
@DependsOn(NFLOW_DATABASE_INITIALIZER)
public JdbcTemplate nflowJdbcTemplate(@NFlow DataSource nflowDataSource) {
 return new JdbcTemplate(nflowDataSource);
}
origin: com.nitorcreations/nflow-engine

@Bean
@NFlow
@Scope(SCOPE_PROTOTYPE)
@DependsOn(NFLOW_DATABASE_INITIALIZER)
public NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate(@NFlow DataSource nflowDataSource) {
 return new NamedParameterJdbcTemplate(nflowDataSource);
}
origin: com.nitorcreations/nflow-engine

@Bean
@NFlow
public ObjectMapper nflowObjectMapper() {
 ObjectMapper mapper = new ObjectMapper();
 mapper.setSerializationInclusion(NON_EMPTY);
 mapper.registerModule(new JodaModule());
 return mapper;
}
origin: com.nitorcreations/nflow-engine

@Inject
public WorkflowDefinitionService(@NFlow AbstractResource nflowNonSpringWorkflowsListing,
  WorkflowDefinitionDao workflowDefinitionDao, Environment env) {
 this.nonSpringWorkflowsListing = nflowNonSpringWorkflowsListing;
 this.workflowDefinitionDao = workflowDefinitionDao;
 this.persistWorkflowDefinitions = env.getRequiredProperty("nflow.definition.persist", Boolean.class);
}
origin: com.nitorcreations/nflow-engine

@Inject
public WorkflowLifecycle(WorkflowDispatcher dispatcher, @NFlow ThreadFactory nflowThreadFactory, Environment env) {
 this.dispatcher = dispatcher;
 autoStart = env.getRequiredProperty("nflow.autostart", Boolean.class);
 dispatcherThread = nflowThreadFactory.newThread(dispatcher);
 dispatcherThread.setName("nflow-dispatcher");
 if (!autoStart) {
  getLogger(WorkflowLifecycle.class).info("nFlow engine autostart disabled (system property nflow.autostart=false)");
 }
}
origin: com.nitorcreations/nflow-rest-api

 @Bean
 @Named(REST_OBJECT_MAPPER)
 public ObjectMapper nflowRestObjectMapper(@NFlow ObjectMapper nflowObjectMapper) {
  ObjectMapper restObjectMapper = nflowObjectMapper.copy();
  restObjectMapper.configure(WRITE_DATES_AS_TIMESTAMPS, false);
  return restObjectMapper;
 }
}
origin: com.nitorcreations/nflow-engine

@Bean
public WorkflowInstanceExecutor nflowExecutor(@NFlow ThreadFactory nflowThreadFactory, Environment env) {
 int threadCount = env.getProperty("nflow.executor.thread.count", Integer.class, 2 * getRuntime().availableProcessors());
 int awaitTerminationSeconds = env.getRequiredProperty("nflow.dispatcher.await.termination.seconds", Integer.class);
 int queueSize = env.getProperty("nflow.dispatcher.executor.queue.size", Integer.class, 2 * threadCount);
 int notifyThreshold = env.getProperty("nflow.dispatcher.executor.queue.wait_until_threshold", Integer.class, queueSize / 2);
 int keepAliveSeconds = env.getRequiredProperty("nflow.dispatcher.executor.thread.keepalive.seconds", Integer.class);
 return new WorkflowInstanceExecutor(queueSize, threadCount, notifyThreshold, awaitTerminationSeconds, keepAliveSeconds,
   nflowThreadFactory);
}
origin: com.nitorcreations/nflow-engine

@Bean
@NFlow
public ThreadFactory nflowThreadFactory() {
 CustomizableThreadFactory factory = new CustomizableThreadFactory("nflow-executor-");
 factory.setThreadGroupName("nflow");
 return factory;
}
com.nitorcreations.nflow.engine.internal.configNFlow<init>

Popular methods of NFlow

    Popular in Java

    • Updating database using SQL prepared statement
    • getSharedPreferences (Context)
    • findViewById (Activity)
    • getContentResolver (Context)
    • OutputStream (java.io)
      A writable sink for bytes.Most clients will use output streams that write data to the file system (
    • URI (java.net)
      A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
    • Collection (java.util)
      Collection is the root of the collection hierarchy. It defines operations on data collections and t
    • Locale (java.util)
      Locale represents a language/country/variant combination. Locales are used to alter the presentatio
    • ThreadPoolExecutor (java.util.concurrent)
      An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
    • BoxLayout (javax.swing)
    • Best plugins for Eclipse
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now