com.maxifier.mxcache.impl.instanceprovider.Binder Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.impl.instanceprovider;
import javax.annotation.Nonnull;
/**
* @author Alexander Kochurov ([email protected])
*/
public interface Binder {
void toProvider(@Nonnull Provider provider);
void toInstance(@Nonnull T instance);
void toClass(@Nonnull Class extends T> cls);
}