X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FHelloService.java;h=c3e623ce0792afadf16a95e3c96f5841daab022e;hb=HEAD;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..c3e623ce 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.getEventTracker().eventOccurred(aMsg); + msg = aMsg; + } + + public String say() { + return msg; + } }