Sha256: ee718e3b0bdd8393d68a564b85efe60d9a1fd7c6f5c4a7c9abf490dc9108302b
Contents?: true
Size: 806 Bytes
Versions: 4
Compression:
Stored size: 806 Bytes
Contents
require "jruby_activiti/version" require "jbundler" Bundler.require "activiti-engine" module JrubyActiviti ConfigPath ||= "config/activiti.cfg.xml" def self.get_engine configuration = Java::OrgActivitiEngine::ProcessEngineConfiguration. createProcessEngineConfigurationFromResource(ConfigPath) configuration.buildProcessEngine end module Activiti Engine = JrubyActiviti.get_engine RepositoryService = Engine.getRepositoryService() RuntimeService = Engine.getRuntimeService() TaskService = Engine.getTaskService() ManagementService = Engine.getManagementService() IdentityService = Engine.getIdentityService() HistoryService = Engine.getHistoryService() FormService = Engine.getFormService() end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jruby_activiti-1.2.3 | lib/jruby_activiti.rb |
jruby_activiti-1.2.2 | lib/jruby_activiti.rb |
jruby_activiti-1.2.1 | lib/jruby_activiti.rb |
jruby_activiti-1.2.0 | lib/jruby_activiti.rb |