/*
- * 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.
*/
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");
+ }
}