X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fdom%2Fbroker%2FRpcRegistrationWrapper.java;fp=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fdom%2Fbroker%2FRpcRegistrationWrapper.java;h=0000000000000000000000000000000000000000;hb=e42f84e6d4567f36caad1c4162660bb32a473071;hp=db6c72e2ff3127e577a81a87d3c2a3b808b695da;hpb=1e12c13aaec75493f70dd759208181f45c385102;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/RpcRegistrationWrapper.java b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/RpcRegistrationWrapper.java deleted file mode 100644 index db6c72e2ff..0000000000 --- a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/RpcRegistrationWrapper.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (c) 2014 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.dom.broker; - -import org.opendaylight.controller.sal.core.api.Broker.RpcRegistration; -import org.opendaylight.controller.sal.core.api.RpcImplementation; -import org.opendaylight.yangtools.yang.common.QName; - -import com.google.common.base.Preconditions; - -public class RpcRegistrationWrapper implements RpcRegistration { - - private final RpcRegistration delegate; - - public RpcRegistrationWrapper(final RpcRegistration delegate) { - this.delegate = Preconditions.checkNotNull(delegate); - } - - @Override - public RpcImplementation getInstance() { - return delegate.getInstance(); - } - - @Override - public void close() { - delegate.close(); - } - - @Override - public QName getType() { - return delegate.getType(); - } - - /** - * @return the delegate - */ - public RpcRegistration getDelegate() { - return delegate; - } -} \ No newline at end of file