NAME

Java::JCR::Lock::Lock - Perl wrapper for javax.jcr.lock.Lock

DESCRIPTION

This is an automatically generated package wrapping javax.jcr.lock.Lock with a nice Perlish API.

For full documentation of what this class does, see the Java API documentation: http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/lock/Lock.html

The deviations from the API documentation include the following:

  • You will need to use Perl, intead of Java, to make any use of this API. (Duh.)

  • The package to use is Java::JCR::Lock::Lock, rather than javax.jcr.lock.Lock.

  • All method names have been changed from Java-style camelCase() to Perl-style lower_case().

    Thus, if the function were named getName() in the Java API, it will be named get_name() in this API. As another example, nextEventListener() in the Java API will be next_event_listener() in this API.

  • Handle exceptions just like typical Perl. Java::JCR::Exception takes care of making sure that works as expected.

SEE ALSO

Java::JCR, http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/lock/Lock.html

AUTHOR

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2006 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.