ruby
Class ScriptingContainerHolder
java.lang.Object
ruby.ScriptingContainerHolder
public class ScriptingContainerHolder
- extends Object
Builds and holds on to ScriptingContainer.
This is so that we can relatively painlessly switch to multi-scriptingcontainer implementation.
- Author:
- Kohsuke Kawaguchi
|
Field Summary |
org.jruby.embed.ScriptingContainer |
ruby
The unique JRuby environment used by this plugin and all the objects
and classes that it contains. |
|
Constructor Summary |
ScriptingContainerHolder()
Initializes this plugin by setting up the JRuby scripting container
and then loading up the ruby side of the plugin by creating an
instance of the Ruby class Jenkins::Plugin which will serve as
its agent in the Ruby world. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ruby
public final org.jruby.embed.ScriptingContainer ruby
- The unique JRuby environment used by this plugin and all the objects
and classes that it contains.
ScriptingContainerHolder
public ScriptingContainerHolder()
- Initializes this plugin by setting up the JRuby scripting container
and then loading up the ruby side of the plugin by creating an
instance of the Ruby class Jenkins::Plugin which will serve as
its agent in the Ruby world.
We also register xstream mappers for JRuby objects so that they
can be persisted along with other objects in Jenkins.
Copyright © 2004-2012. All Rights Reserved.