pro.jk.ejoker.common.context.dev2.IEjokerContextDev2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ejoker-common Show documentation
Show all versions of ejoker-common Show documentation
EJoker is a CQRS + EventSourcing framwork
package pro.jk.ejoker.common.context.dev2;
import pro.jk.ejoker.common.system.functional.IVoidFunction;
public interface IEjokerContextDev2 extends IEJokerSimpleContext, IEJokerClazzScanner {
public void refresh();
public void discard();
public void destroyRegister(IVoidFunction vf, int priority);
default public void destroyRegister(IVoidFunction vf) {
destroyRegister(vf, 50);
}
/**
* 浅注册: 仅仅注入 当前表现态 的类型 与 传入对象的 对应关系
* @param instance
*/
public void shallowRegister(Object instance);
}