Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jruby sequencer example #4

Closed
wants to merge 2 commits into from
Closed

Jruby sequencer example #4

wants to merge 2 commits into from

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Feb 10, 2013

No description provided.

The previous attempt failed because:

- Modeshape wants all Sequencers to extend the abstract class
  ...sequencer.Sequencer.
- JRuby wants all Ruby -> Java classes to extend RubyObject
- Java doesn't do multiple inheritence.

(Modeshape might be adapted to use a Sequencer interface?)

This attempt:

- Creates a Shim class that extends Sequencer
- Uses the ScriptEngineManager to parse our ruby file, and instantiate our
class
- Calls our Ruby #execute method

So, all is well in the world, I guess.
@cbeer
Copy link
Contributor Author

cbeer commented Feb 11, 2013

Split to futures/fcrepo-sequencer-ruby-example

@cbeer cbeer closed this Feb 11, 2013
@cbeer cbeer deleted the jruby-sequencer-example branch February 12, 2013 00:41
birkland pushed a commit to birkland/fcrepo4 that referenced this pull request Jul 22, 2016
dbernstein pushed a commit that referenced this pull request Nov 16, 2022
* setup travis to deploy snapshots to sonatype

* corrected group id

Co-authored-by: Peter Winckles <peter.winckles@wisc.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant