nuvolabase/orientdb — pull request #1379 by henryzhao81 (2013-03-06 00:56:23+00:00)
Title: Also support reflection on the class trigger 

Beside define customized function on OFunction, we can also use reflection to define java function to handle class trigger. Following are the examples to define the java function in sql command.

alter class custom onBeforeCreate = .;
alter class custom onAfterCreate = .;
etc..