An extension CDI for cache method results.
##How to use
Simply add the @Cacheable annotation on method and inject the bean normally.
import java.util.concurrent.TimeUnit;
import br.com.logique.methodcache.Cacheable;
public class MyBean{
@Cacheable(lifeTime = 30, unit = TimeUnit.SECONDS)
void doSomething(String arg) {
//do something slow
}
}