352d7df6250339976a87dc6b8a3e0d861d499d5d
[yangtools.git] / common / object-cache-api / src / main / java / org / opendaylight / yangtools / objcache / impl / StaticObjectCacheBinder.java
1 /*
2  * Copyright (c) 2014 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.yangtools.objcache.impl;
9
10 import org.opendaylight.yangtools.objcache.spi.AbstractObjectCacheBinder;
11
12 /*
13  * This is a dummy placeholder implementation. The API package is bound to
14  * it at compile-time, but it is not packaged and thus not present at run-time.
15  */
16 public final class StaticObjectCacheBinder extends AbstractObjectCacheBinder {
17     private StaticObjectCacheBinder() {
18         super(null);
19     }
20
21     public static StaticObjectCacheBinder getInstance() {
22         throw new IllegalStateException("This class should have been replaced");
23     }
24 }