Am Dienstag, den 20.11.2007, 11:11 +0100 schrieb Bertrand Delacretaz:
> >... This would allow for other resources such as a FileResource or an
> > URLResource (hold on, there is an actual use case....
>
> I was going to say "that's nice even though we don't have a use case
> right now", so if we have one that's even better
Thinking about this: Why not replace the SlingScript interface providing
a Resource by a ScriptResource interfaces:
public interface ScriptResource extends Resource {
void eval(Map<String, Object> properties) throws
SlingException, IOException;
}
The question of course is: Is a Script a Resource ??
Regards
Felix