com.maxifier.mxcache.impl.instanceprovider.Binder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mxcache-runtime Show documentation
Show all versions of mxcache-runtime Show documentation
Constains all classes necessary for launching a MxCache-instrumentated application
/*
* 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);
}