> Maybe the answer is to encapsulate the ScriptedAttribute API into something > in the -API tree. Is this a Java Interface? Or is it something more > JavaScript-y? My first thought was to create a Java interface in -api, but I'm not sure what the options are.