Merge "BUG-4123: Li:flow statistics are not passed into DS/operational"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / rpc / ItemLifeCycleKeeper.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowplugin.api.openflow.rpc;
10
11 import javax.annotation.Nullable;
12 import org.opendaylight.openflowplugin.api.openflow.rpc.listener.ItemLifecycleListener;
13
14 /**
15  * provides read-write access to assigned {@link ItemLifecycleListener}
16  */
17 public interface ItemLifeCycleKeeper extends ItemLifeCycleSource {
18
19     /**
20      * @return assigned item lifecycle listener
21      */
22     @Nullable
23     ItemLifecycleListener getItemLifecycleListener();
24 }