X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FHelloService.java;h=8feead0563f27c16832b74468a5f90887ede2153;hb=17775e14ecfb286e59f67117e5cee7e21e95ab1f;hp=622b420d0e5ddc2a2ffc273250590585caaa2eaf;hpb=6f8bb575523e672b9f8797e543f7c59d15db7253;p=utils diff --git a/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java b/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java index 622b420d..8feead05 100644 --- a/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java +++ b/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java @@ -1,5 +1,5 @@ /* - * Copyright 2007 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,15 +15,24 @@ */ package org.wamblee.system.spring; +/** + * + * @author $author$ + * @version $Revision$ + */ public class HelloService { - - private String _msg; - - public HelloService(String aMsg) { - _msg = aMsg; - } - - public String say() { - return _msg; - } + private String msg; + + /** + * Creates a new HelloService object. + * + */ + public HelloService(String aMsg) { + SpringComponentTest.EVENT_TRACKER.eventOccurred(aMsg); + msg = aMsg; + } + + public String say() { + return msg; + } }