X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FBlaService.java;h=5975b8a092be3290955109c2f8681a7738881ae8;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=5715460aace3193121a702ea243bf46d6a03006a;hpb=81fe8784a2182e25f92a7591ec5b0fba00afb828;p=utils diff --git a/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java b/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java index 5715460a..5975b8a0 100644 --- a/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java +++ b/system/spring/src/test/java/org/wamblee/system/spring/BlaService.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,21 +15,31 @@ */ package org.wamblee.system.spring; +/** + * + * @author $author$ + * @version $Revision$ + */ public class BlaService { - private HelloService hello; - - public BlaService(HelloService aService) { - if ( aService == null ) { - throw new IllegalArgumentException("helloService is null"); - } - hello = aService; - } - - public String execute() { - return hello.say(); - } - - public void stop() { - System.out.println("Blaservice stopping"); - } + private HelloService hello; + + /** + * Creates a new BlaService object. + * + */ + public BlaService(HelloService aService) { + if (aService == null) { + throw new IllegalArgumentException("helloService is null"); + } + + hello = aService; + } + + public String execute() { + return hello.say(); + } + + public void stop() { + System.out.println("Blaservice stopping"); + } }