文章列表
Register and Lookup Serivces (Globol Lookup)
1) In service module, create a service interface
public interface TaskIdGenerator {
public String generateID();
}
In order to register a service, you only need to annotate a class with the @ServiceProvider annotation to fulfill the J ...