Skip Menu |

This queue is for tickets about the Java-JCR CPAN distribution.

Report information
The Basics
Id: 20760
Status: new
Priority: 0/
Queue: Java-JCR

Owner: Nobody in particular
Requestors: hanenkamp [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Use Perl subs as EventListeners in the ObservationManager
Download (untitled) / with headers
text/plain 455b
It would be nice to be able to: my $workspace = $session->get_workspace; my $observation_manager = $workspace->get_observation_manager; $observation_manager->add_event_listener( \&do_on_add, $Java::JCR::Observation::Event::NODE_ADDED, '/foo/bar', 1, undef, undef, 0); This should result in do_on_add() being called and passed an argument of type Java::JCR::Observation::EventIterator every time a node was added under /foo/bar in the repository.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to