[OpenJDK 2D-Dev] Howto install a custom rendering engine?
linuxhippy at gmail.com
Mon Nov 2 17:28:05 UTC 2009
I am trying to install my own RenderingEngine implementation, however
I am not accustomed to the ServiceLoader concept:
> ServiceLoader<RenderingEngine> reLoader =
the ServiceLoader doesn't e.g. contain my CairoRenderingEngine.
Would it be enough to simply create a META-INF directory with a single
file in it, similar to what has been done for pisces?
Is there any way to influence the iteration-order?
If possible I would prefer my RendeingEngine to be tried before Pisces
when its mature and complete, at least it should be configureable
without passing the cmd-line parameter every time.
Whats the purpose of the ServiceLoader, wouldn't it be possible to
simply load the class specified on the command-line directly?
Thank you in advance, Clemens
More information about the 2d-dev