Accessing iHub environment information : Writing event handlers to retrieve iHub environment information : Java event handler example