2013-06-01 03:26:30 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2012-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.
|
|
|
|
*/
|
|
|
|
|
2013-12-31 16:40:21 +08:00
|
|
|
package sample.integration;
|
2013-04-25 23:06:17 +08:00
|
|
|
|
2013-07-27 05:10:38 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
2014-11-07 05:50:45 +08:00
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2013-07-27 05:10:38 +08:00
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
2013-04-25 23:06:17 +08:00
|
|
|
import org.springframework.context.annotation.ImportResource;
|
|
|
|
|
2014-11-07 05:50:45 +08:00
|
|
|
@SpringBootApplication
|
2013-04-25 23:06:17 +08:00
|
|
|
@EnableConfigurationProperties(ServiceProperties.class)
|
|
|
|
@ImportResource("integration-context.xml")
|
2013-07-06 07:44:24 +08:00
|
|
|
public class SampleIntegrationApplication {
|
2013-04-25 23:06:17 +08:00
|
|
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
2013-07-06 07:44:24 +08:00
|
|
|
SpringApplication.run(SampleIntegrationApplication.class, args);
|
2013-04-25 23:06:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|