blob: cd66e59327a544f872a4e92789b3a63e70bd0ccc [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/*
5 * Copyright 2014 Open Networking Laboratory
6 *
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
34 private static Logger log = LoggerFactory.getLogger(AppComponent.class);
35
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}