Now working with OSGI and catching events