Merge "Cleanup root pom "name"."
[controller.git] / opendaylight / netconf / netconf-notifications-api / src / main / java / org / opendaylight / controller / netconf / notifications / NotificationRegistration.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.controller.netconf.notifications;
10
11 /**
12  * Generic registration, used as a base for other registration types
13  */
14 public interface NotificationRegistration extends AutoCloseable {
15
16     // Overriden close does not throw any kind of checked exception
17
18     /**
19      * Close the registration.
20      */
21     @Override
22     void close();
23 }