a small java implementation to add java plugin interface to an application