blob: a7764cc6fbcd6fa672c5986d39fa577a50b602c2 [file] [log] [blame]
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -08001#set( $symbol_pound = '#' )
2#set( $symbol_dollar = '$' )
3#set( $symbol_escape = '\' )
Thomas Vachuska7399e482014-12-01 21:27:42 -08004/*
Jian Lic6c76dc2016-01-26 14:22:51 -08005 * Copyright ${year} Open Networking Laboratory
Thomas Vachuska7399e482014-12-01 21:27:42 -08006 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080019package ${package};
Thomas Vachuska7399e482014-12-01 21:27:42 -080020
21import org.apache.felix.scr.annotations.Activate;
22import org.apache.felix.scr.annotations.Component;
23import org.apache.felix.scr.annotations.Deactivate;
24import org.apache.felix.scr.annotations.Service;
25import org.slf4j.Logger;
26import org.slf4j.LoggerFactory;
27
28/**
29 * Skeletal ONOS application component.
30 */
31@Component(immediate = true)
Thomas Vachuskafc7f22d2014-12-04 11:07:01 -080032public class AppComponent {
Thomas Vachuska7399e482014-12-01 21:27:42 -080033
Thomas Vachuskaa2ae4222015-04-29 18:42:09 -070034 private final Logger log = LoggerFactory.getLogger(getClass());
Thomas Vachuska7399e482014-12-01 21:27:42 -080035
36 @Activate
37 protected void activate() {
38 log.info("Started");
39 }
40
41 @Deactivate
42 protected void deactivate() {
43 log.info("Stopped");
44 }
45
46}