Example of Java Service calling RuntimeService and Security Service