This commit is contained in:
Phillip Webb
2013-05-31 12:26:30 -07:00
parent 969c7d6fa1
commit 7e3c158f3a
175 changed files with 1040 additions and 286 deletions

View File

@@ -1,3 +1,19 @@
/*
* Copyright 2013 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.bootstrap.sample.simple;
import org.springframework.beans.factory.annotation.Autowired;

View File

@@ -1,3 +1,19 @@
/*
* Copyright 2013 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.bootstrap.sample.simple.service;
import org.springframework.beans.factory.annotation.Value;
@@ -13,7 +29,7 @@ public class GoodbyeWorldService implements MessageService {
@Override
public String getMessage() {
return "Goodbye " + name;
return "Goodbye " + this.name;
}
}

View File

@@ -1,3 +1,19 @@
/*
* Copyright 2013 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.bootstrap.sample.simple.service;
import org.springframework.beans.factory.annotation.Value;
@@ -13,7 +29,7 @@ public class HelloWorldService implements MessageService {
@Override
public String getMessage() {
return "Hello " + name;
return "Hello " + this.name;
}
}

View File

@@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.bootstrap.sample.simple.service;
/**
* @author Dave Syer
*
*/
public interface MessageService {
String getMessage();
}
}