Use ServiceLoader instead
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / osgi / OSGiPCEPExtensionConsumerContext.java
1 /*
2  * Copyright (c) 2013 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 package org.opendaylight.protocol.pcep.spi.osgi;
9
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;
19
20 import com.google.common.base.Preconditions;
21
22 class OSGiPCEPExtensionConsumerContext implements PCEPExtensionConsumerContext {
23         protected final BundleContext bundleContext;
24
25         public OSGiPCEPExtensionConsumerContext(final BundleContext context) {
26                 this.bundleContext = Preconditions.checkNotNull(context);
27         }
28
29         @Override
30         public LabelHandlerRegistry getLabelHandlerRegistry() {
31                 // TODO Auto-generated method stub
32                 return null;
33         }
34
35         @Override
36         public MessageHandlerRegistry getMessageHandlerRegistry() {
37                 // TODO Auto-generated method stub
38                 return null;
39         }
40
41         @Override
42         public ObjectHandlerRegistry getObjectHandlerRegistry() {
43                 // TODO Auto-generated method stub
44                 return null;
45         }
46
47         @Override
48         public EROSubobjectHandlerRegistry getEROSubobjectHandlerRegistry() {
49                 // TODO Auto-generated method stub
50                 return null;
51         }
52
53         @Override
54         public RROSubobjectHandlerRegistry getRROSubobjectHandlerRegistry() {
55                 // TODO Auto-generated method stub
56                 return null;
57         }
58
59         @Override
60         public XROSubobjectHandlerRegistry getXROSubobjectHandlerRegistry() {
61                 // TODO Auto-generated method stub
62                 return null;
63         }
64
65         @Override
66         public TlvHandlerRegistry getTlvHandlerRegistry() {
67                 // TODO Auto-generated method stub
68                 return null;
69         }
70 }