- 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");
- }
+ /**
+ * DOCUMENT ME!
+ */
+ private HelloService hello;
+
+/**
+ * Creates a new BlaService object.
+ *
+ * @param aService DOCUMENT ME!
+ */
+ public BlaService(HelloService aService) {
+ if (aService == null) {
+ throw new IllegalArgumentException("helloService is null");
+ }
+
+ hello = aService;
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @return DOCUMENT ME!
+ */
+ public String execute() {
+ return hello.say();
+ }
+
+ /**
+ * DOCUMENT ME!
+ */
+ public void stop() {
+ System.out.println("Blaservice stopping");
+ }