|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
package com.fr.plugin.demo.before.init.event; |
|
|
|
|
|
|
|
|
|
import com.fr.decision.fun.impl.AbstractBeforeInitEventProvider; |
|
|
|
|
import com.fr.decision.fun.impl.AbstractDecisionInitEventProvider; |
|
|
|
|
import com.fr.decision.webservice.utils.WebServiceUtils; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.plugin.transform.FunctionRecorder; |
|
|
|
@ -13,9 +13,9 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
* @Desciption: |
|
|
|
|
*/ |
|
|
|
|
@FunctionRecorder |
|
|
|
|
public class CustomBeforeInitEventProvider extends AbstractBeforeInitEventProvider { |
|
|
|
|
public class CustomBeforeInitEventProvider extends AbstractDecisionInitEventProvider { |
|
|
|
|
@Override |
|
|
|
|
public void action(HttpServletRequest httpServletRequest) { |
|
|
|
|
public void before(HttpServletRequest httpServletRequest) { |
|
|
|
|
FineLoggerFactory.getLogger().error(WebServiceUtils.getIpInfoFromRequest(httpServletRequest) + " init decision"); |
|
|
|
|
} |
|
|
|
|
} |