2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.protocol.pcep.spi.osgi;
10 import org.opendaylight.protocol.pcep.spi.EROSubobjectHandlerRegistry;
11 import org.opendaylight.protocol.pcep.spi.LabelHandlerRegistry;
12 import org.opendaylight.protocol.pcep.spi.MessageHandlerRegistry;
13 import org.opendaylight.protocol.pcep.spi.ObjectHandlerRegistry;
14 import org.opendaylight.protocol.pcep.spi.PCEPExtensionConsumerContext;
15 import org.opendaylight.protocol.pcep.spi.RROSubobjectHandlerRegistry;
16 import org.opendaylight.protocol.pcep.spi.TlvHandlerRegistry;
17 import org.opendaylight.protocol.pcep.spi.XROSubobjectHandlerRegistry;
18 import org.osgi.framework.BundleContext;
20 import com.google.common.base.Preconditions;
22 class OSGiPCEPExtensionConsumerContext implements PCEPExtensionConsumerContext {
23 protected final BundleContext bundleContext;
25 public OSGiPCEPExtensionConsumerContext(final BundleContext context) {
26 this.bundleContext = Preconditions.checkNotNull(context);
30 public LabelHandlerRegistry getLabelHandlerRegistry() {
31 // TODO Auto-generated method stub
36 public MessageHandlerRegistry getMessageHandlerRegistry() {
37 // TODO Auto-generated method stub
42 public ObjectHandlerRegistry getObjectHandlerRegistry() {
43 // TODO Auto-generated method stub
48 public EROSubobjectHandlerRegistry getEROSubobjectHandlerRegistry() {
49 // TODO Auto-generated method stub
54 public RROSubobjectHandlerRegistry getRROSubobjectHandlerRegistry() {
55 // TODO Auto-generated method stub
60 public XROSubobjectHandlerRegistry getXROSubobjectHandlerRegistry() {
61 // TODO Auto-generated method stub
66 public TlvHandlerRegistry getTlvHandlerRegistry() {
67 // TODO Auto-generated method stub