Sha256: 0ea6dead45337d63c597eec1f52fdae7e6985312c0cc21facfab7fb04e422ac8

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

require "jruby_activiti/version"

require "jbundler"
Bundler.require "activiti-engine"

ActivitiConfigPath ||= "config/activiti.cfg.xml"

module JrubyActiviti
  def self.get_engine
    configuration = Java::OrgActivitiEngine::ProcessEngineConfiguration.
      createProcessEngineConfigurationFromResource(ActivitiConfigPath)
    configuration.buildProcessEngine
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jruby_activiti-1.1.3 lib/jruby_activiti.rb
jruby_activiti-1.1.2-java lib/jruby_activiti.rb
jruby_activiti-1.1.1-java lib/jruby_activiti.rb
jruby_activiti-1.1.0 lib/jruby_activiti.rb