All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.guicedhazelcast.HazelcastBinderGuice Maven / Gradle / Ivy

Go to download

An integration library for Hazelcast and Guice utilizing a GuiceContext Injector.

There is a newer version: 0.66.0.1
Show newest version
package com.jwebmp.guicedhazelcast;

import com.jwebmp.guicedinjection.abstractions.GuiceInjectorModule;
import com.jwebmp.guicedinjection.interfaces.IGuiceDefaultBinder;
import com.jwebmp.logger.LogFactory;
import org.jsr107.ri.annotations.guice.module.CacheAnnotationsModule;

import java.util.logging.Logger;

/**
 * Binds Caching Annotations to the Hazelcast Provider
 */
@SuppressWarnings("unused")
public class HazelcastBinderGuice
		implements IGuiceDefaultBinder
{
	private static final Logger log = LogFactory.getLog("HazelcastBinderGuice");

	@Override
	public void onBind(GuiceInjectorModule module)
	{
		module.install(new CacheAnnotationsModule());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy