我的目标是在一个自定义注释中加入两个或多个注释的功能,这有可能??
我有这个:
@Stateless
@WebService(serviceName="MyService")
@Interceptors(TracingInterceptor.class)
public class SimpleWS { }
我希望能够改为:
@Stateless
@MyAnnotation
public class SimpleWS {}
其中@MyAnnotation = @WebService(serviceName =“MyService”)+ @Interceptors(TracingInterceptor.class)
感谢您的帮助