X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fsal%2Fsal-core-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fapi%2FBrokerService.java;h=b4253680528f1b4d029dff2ad88eae8230946d66;hp=b854188f616248809f1f422ef85285006b0261d4;hb=42183ad5bfefff7d6de9df467cdaa600a450af29;hpb=f3bdffc96f0c221111faeef07db2a6b975f56463 diff --git a/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java b/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java index b854188f61..b425368052 100644 --- a/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java +++ b/opendaylight/sal/yang-prototype/sal/sal-core-api/src/main/java/org/opendaylight/controller/sal/core/api/BrokerService.java @@ -1,39 +1,39 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.sal.core.api; - -import org.opendaylight.controller.sal.core.api.Broker.ConsumerSession; - -/** - * - * Session-specific instance of the broker functionality. - * - *

- * BrokerService is marker interface for infrastructure services provided by the - * SAL. These services are session-specific, each {@link Provider} and - * {@link Consumer} usually has own instance of the service with it's own - * context. - * - *

- * The consumer's (or provider's) instance of specific service could be obtained - * by invoking {@link ConsumerSession#getService(Class)} method on session - * assigned to the consumer. - * - *

- * {@link BrokerService} and {@link Provider} may seem similar, but provider - * provides YANG model-based functionality and {@link BrokerService} exposes the - * necessary supporting functionality to implement specific functionality of - * YANG and to reuse it in the development of {@link Consumer}s and - * {@link Provider}s. - * - * - */ -public interface BrokerService { - - void closeSession(); -} +/* + * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.controller.sal.core.api; + +import org.opendaylight.controller.sal.core.api.Broker.ConsumerSession; + +/** + * + * Session-specific instance of the broker functionality. + * + *

+ * BrokerService is marker interface for infrastructure services provided by the + * SAL. These services are session-specific, each {@link Provider} and + * {@link Consumer} usually has own instance of the service with it's own + * context. + * + *

+ * The consumer's (or provider's) instance of specific service could be obtained + * by invoking {@link ConsumerSession#getService(Class)} method on session + * assigned to the consumer. + * + *

+ * {@link BrokerService} and {@link Provider} may seem similar, but provider + * provides YANG model-based functionality and {@link BrokerService} exposes the + * necessary supporting functionality to implement specific functionality of + * YANG and to reuse it in the development of {@link Consumer}s and + * {@link Provider}s. + * + * + */ +public interface BrokerService { + + void closeSession(); +}