- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getImplicitAnnotation (1.13 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/AnnotatedServiceLifecycleHandler.java
/** * When not null, all services are considered to have the implicit annotation * and the handler should be notified about all registrations. */ @Nullable Class<? extends Annotation> getImplicitAnnotation(); /** * Called when a service with the given annotation is registered. */ void whenRegistered(Class<? extends Annotation> annotation, Registration registration);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:35:08 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java
} @Override public List<Class<? extends Annotation>> getAnnotations() { return SCOPE_ANNOTATIONS; } @Override public Class<? extends Annotation> getImplicitAnnotation() { return ServiceScope.class; } @Override public void whenRegistered(Class<? extends Annotation> annotation, Registration registration) { validateScope(registration.getDeclaredType());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:17 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java
} @Override public List<Class<? extends Annotation>> getAnnotations() { return ANNOTATIONS; } @Nullable @Override public Class<? extends Annotation> getImplicitAnnotation() { return null; } @Override public void whenRegistered(Class<? extends Annotation> annotation, Registration registration) { synchronized (lock) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 10:09:43 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java
private void notifyAnnotationHandler(AnnotatedServiceLifecycleHandler annotationHandler, SingletonService candidate) { if (annotationHandler.getImplicitAnnotation() != null) { annotationHandler.whenRegistered(annotationHandler.getImplicitAnnotation(), new RegistrationWrapper(candidate)); } else { for (Class<? extends Annotation> annotation : annotationHandler.getAnnotations()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 53.3K bytes - Viewed (0)