public interface Service
Service的资源类型 业务逻辑的Service通常有两种编写方式: 1、只写一个Service实现类。 2、先定义业务的Service接口或抽象类,再编写具体实现类。 第二种方式需要在具体实现类上使用@ResourceType指明资源注入的类型。
详情见: http://www.redkale.org
default void
destroy(AnyValue config)
init(AnyValue config)
default void init(AnyValue config)
config
default void destroy(AnyValue config)