package org.qfox.jestful.cache.implementation;

import org.qfox.jestful.cache.Entry;
import org.qfox.jestful.cache.Manager;
import org.qfox.jestful.cache.Period;

import java.lang.reflect.Method;

/**
 * Created by yangchangpei on 17/9/9.
 */
public class DefaultManager implements Manager {

    @Override
    public Entry get(Object object, Method method, Object... args) {
        return null;
    }

    @Override
    public void put(String key, Period period, Object value) {

    }
}

@@ -71,21 +71,17 @@
 l.cache.
-Entry
+*
 ;%0Aimport
@@ -103,18 +103,23 @@
 ul.c
-ache.Manag
+ore.BeanContain
 er;%0A
@@ -147,19 +147,23 @@
 ul.c
-ache.Period
+ore.Initialable
 ;%0A%0Ai
@@ -287,18 +287,64 @@
  Manager
- %7B
+, Initialable %7B%0A    private Generator generator;
 %0A%0A    @O
@@ -432,105 +432,401 @@
     
-return null;%0A    %7D%0A%0A    @Override%0A    public void put(String key, Period period, Object value) %7B%0A
+Parameter%5B%5D parameters = new Parameter%5Bargs.length%5D;%0A        for (int i = 0 ; i %3C args.length ; i ++) parameters%5Bi%5D = new Parameter(method, i, args%5Bi%5D);%0A        return null;%0A    %7D%0A%0A    @Override%0A    public void put(String key, Period period, Object value) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void initialize(BeanContainer beanContainer) %7B%0A        generator = beanContainer.get(Generator.class);
 %0A   

Add cache module